Skip to content

Commit

Permalink
update tests due to fixing of bug #3291
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Aug 12, 2015
1 parent 0ea812e commit 0a5dcc7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Expand Up @@ -8,7 +8,7 @@

runScript("../common/ModelTestingDefaults.mos"); getErrorString();

modelTestingType := OpenModelicaModelTesting.Kind.Compilation;
modelTestingType := OpenModelicaModelTesting.Kind.VerifiedSimulation;
modelName := $TypeName(Modelica.Media.Examples.R134a.R134a1);
compareVars :=
{
Expand All @@ -24,10 +24,12 @@ runScript(modelTesting);getErrorString();
// "true
// "
// ""
// OpenModelicaModelTesting.Kind.Compilation
// OpenModelicaModelTesting.Kind.VerifiedSimulation
// Modelica.Media.Examples.R134a.R134a1
// {"volume.medium.h","volume.medium.p","fixedMassFlowRate.port.p","ambient.port.m_flow"}
// Compilation succeeded
// Simulation options: startTime = 0.0, stopTime = 1.01, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Media.Examples.R134a.R134a1', options = '', outputFormat = 'mat', variableFilter = 'time|volume.medium.h|volume.medium.p|fixedMassFlowRate.port.p|ambient.port.m_flow', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected'
// Result file: Modelica.Media.Examples.R134a.R134a1_res.mat
// Files Equal!
// Warning: Alias set with several free start values
// * candidate: volume.port.p(start = 101325.0)
// * candidate: fixedMassFlowRate.port.p(start = 101325.0)
Expand All @@ -48,6 +50,7 @@ runScript(modelTesting);getErrorString();
// * candidate: volume.port.p(nominal = 1000000.0)
// * candidate: volume.medium.p(nominal = 100000.0)
// => select value from volume.medium.p(nominal = 100000.0) for variable: volume.medium.p
//
// "true
// "
// ""
Expand Down
Expand Up @@ -8,7 +8,7 @@

runScript("../common/ModelTestingDefaults.mos"); getErrorString();

modelTestingType := OpenModelicaModelTesting.Kind.Compilation;
modelTestingType := OpenModelicaModelTesting.Kind.VerifiedSimulation;
modelName := $TypeName(Modelica.Media.Examples.R134a.R134a2);
compareVars :=
{
Expand All @@ -26,10 +26,12 @@ runScript(modelTesting);getErrorString();
// "true
// "
// ""
// OpenModelicaModelTesting.Kind.Compilation
// OpenModelicaModelTesting.Kind.VerifiedSimulation
// Modelica.Media.Examples.R134a.R134a2
// {"volume.medium.h","volume.medium.p","volume1.medium.h","volume1.medium.p","fixedMassFlowRate.port.p","ambient.port.m_flow"}
// Compilation succeeded
// Simulation options: startTime = 0.0, stopTime = 1.01, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Media.Examples.R134a.R134a2', options = '', outputFormat = 'mat', variableFilter = 'time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p|fixedMassFlowRate.port.p|ambient.port.m_flow', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected'
// Result file: Modelica.Media.Examples.R134a.R134a2_res.mat
// Files Equal!
// Warning: Alias set with several free start values
// * candidate: volume1.port.p(start = 101325.0)
// * candidate: shortPipe.port_b.p(start = 101325.0)
Expand Down Expand Up @@ -65,6 +67,7 @@ runScript(modelTesting);getErrorString();
// * candidate: volume.port.p(nominal = 1000000.0)
// * candidate: volume.medium.p(nominal = 100000.0)
// => select value from volume.medium.p(nominal = 100000.0) for variable: volume.medium.p
//
// "true
// "
// ""
Expand Down

0 comments on commit 0a5dcc7

Please sign in to comment.