Skip to content

Commit

Permalink
Expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Apr 17, 2016
1 parent 49db8e6 commit 4fd107d
Show file tree
Hide file tree
Showing 17 changed files with 47 additions and 47 deletions.
Expand Up @@ -29,13 +29,13 @@ getErrorString();
// simulationOptions = "startTime = 0.0, stopTime = 3600.0, numberOfIntervals = 500, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'init', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "assert | warning | The following assertion has been violated at time 7.200000
// | | | | der_evaporator_p >= 0.0 and der_evaporator_p <= 32000.0
// assert | warning | Variable der_evaporator_p out of [min, max] interval: der_evaporator_p >= 0.0 and der_evaporator_p <= 32000.0 has value: -3.42937
// assert | warning | Variable violating min/max constraint: 0.0 <= der_evaporator_p <= 32000.0, has value: -3.42937
// assert | warning | The following assertion has been violated at time 849.600000
// | | | | conSigma.con >= conSigma.MinValue and conSigma.con <= conSigma.MaxValue
// assert | warning | Variable conSigma.con out of [min, max] interval: conSigma.con >= conSigma.MinValue and conSigma.con <= conSigma.MaxValue has value: -150.308
// assert | warning | Variable violating min/max constraint: conSigma.MinValue <= conSigma.con <= conSigma.MaxValue, has value: -150.308
// assert | warning | The following assertion has been violated at time 1252.800000
// | | | | der_V_v >= -0.02 and der_V_v <= 0.025
// assert | warning | Variable der_V_v out of [min, max] interval: der_V_v >= -0.02 and der_V_v <= 0.025 has value: 0.0252797
// assert | warning | Variable violating min/max constraint: -0.02 <= der_V_v <= 0.025, has value: 0.0252797
// "
// end SimulationResult;
// true
Expand Down Expand Up @@ -126,14 +126,14 @@ getErrorString();
// LOG_IPOPT_ERROR | info | max violation is 61.2227 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 15.3174 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 3.83254 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.958954 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.958957 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.240159 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.060028 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.0149908 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.0037337 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000922331 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000216782 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 4.53796e-05 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.0600255 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.014993 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.00373604 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000922696 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 0.000214121 for the constraint $EqCon$der_evaporator_p(time = 1296)
// LOG_IPOPT_ERROR | info | max violation is 4.54588e-05 for the constraint $EqCon$der_evaporator_p(time = 1296)
// "
// end SimulationResult;
// ""
Expand Down
20 changes: 10 additions & 10 deletions openmodelica/fmi/ModelExchange/1.0/JuliansBib.mos
Expand Up @@ -49,24 +49,24 @@ val(s, 1);
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'JuliansBib.Connector_Hebelarm_einfach', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "assert | warning | The following assertion has been violated at time 0.002000
// | | | | lever_arm_simple_2D1.ausleger1.actuatedPrismatic1.s >= 0.0
// assert | warning | Variable lever_arm_simple_2D1.ausleger1.actuatedPrismatic1.s out of [min, max] interval: lever_arm_simple_2D1.ausleger1.actuatedPrismatic1.s >= 0.0 has value: -3.60059e-06
// assert | warning | Variable violating min constraint: 0.0 <= lever_arm_simple_2D1.ausleger1.actuatedPrismatic1.s, has value: -3.60059e-06
// assert | warning | The following assertion has been violated at time 0.002000
// | | | | lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[1] >= 0.0
// assert | warning | Variable lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[1] out of [min, max] interval: lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[1] >= 0.0 has value: -1.41144
// assert | warning | Variable violating min constraint: 0.0 <= lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[1], has value: -1.41144
// assert | warning | The following assertion has been violated at time 0.002000
// | | | | lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[2] >= 0.0
// assert | warning | Variable lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[2] out of [min, max] interval: lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[2] >= 0.0 has value: -0.0885635
// assert | warning | Variable violating min constraint: 0.0 <= lever_arm_simple_2D1.ausleger1.fixedTranslation.r0[2], has value: -0.0885635
// "
// end SimulationResult;
// "Warning: The initial conditions are not fully specified. Use +d=initialization for more information.
// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
// "
// 127.2093118472222
// -1.473684912697271
// -1.473673372208095
// 12720.93118472221
// -2.525917895004182
// -2.525849023136861
// 0.0
// -0.5326873127416378
// -0.5326917977046294
// "SimCode: The model JuliansBib.Connector_Hebelarm_einfach has been translated to FMU"
// "Warning: The initial conditions are not fully specified. Use +d=initialization for more information.
// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
Expand All @@ -80,10 +80,10 @@ val(s, 1);
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'JuliansBib_Connector_Hebelarm_einfach_me_FMU', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = ""
// end SimulationResult;
// 127.2093118472221
// -1.473673659944408
// 127.2093118472222
// -1.473681007759564
// 12720.93118472221
// -2.525771278314903
// -2.52587518528955
// 0.0
// -0.5326903687801198
// -0.5326885425116029
// endResult
Expand Up @@ -34,7 +34,7 @@ getEnvironmentVar("REFERENCEFILES")+"/ThermoSysPro/ThermoSysPro.Examples.SimpleE
// simulationOptions = "startTime = 0.0, stopTime = 1000.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "assert | warning | The following assertion has been violated at time 200.000000
// | | | | staticCentrifugalPumpWaterLiBr.deltaP >= 0.0
// assert | warning | Variable staticCentrifugalPumpWaterLiBr.deltaP out of [min, max] interval: staticCentrifugalPumpWaterLiBr.deltaP >= 0.0 has value: -86.9556
// assert | warning | Variable violating min constraint: 0.0 <= staticCentrifugalPumpWaterLiBr.deltaP, has value: -86.9556
// "
// end SimulationResult;
// "[ThermoSysPro 3.1/WaterSolution/Connectors.mo:3:3-43:25:writable] Warning: Connector .ThermoSysPro.WaterSolution.Connectors.WaterSolutionInlet is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0).
Expand Down
Expand Up @@ -33,7 +33,7 @@ getEnvironmentVar("REFERENCEFILES")+"/ThermoSysPro/ThermoSysPro.Examples.SimpleE
// simulationOptions = "startTime = 0.0, stopTime = 1000.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "assert | warning | The following assertion has been violated at time 2.000000
// | | | | sinkP.P >= 0.0
// assert | warning | Variable sinkP.P out of [min, max] interval: sinkP.P >= 0.0 has value: -9.74572e+06
// assert | warning | Variable violating min constraint: 0.0 <= sinkP.P, has value: -9.74572e+06
// "
// end SimulationResult;
// "[ThermoSysPro 3.1/WaterSteam/Connectors.mo:3:3-45:17:writable] Warning: Connector .ThermoSysPro.WaterSteam.Connectors.FluidInlet is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0).
Expand Down
Expand Up @@ -19,7 +19,7 @@ res := OpenModelica.Scripting.compareSimulationResults("Modelica.Mechanics.Multi
// simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "assert | warning | The following assertion has been violated at time 0.001000
// | | | | gasForce.T >= 1.0 and gasForce.T <= 6000.0
// assert | warning | Variable gasForce.T out of [min, max] interval: gasForce.T >= 1.0 and gasForce.T <= 6000.0 has value: 407508
// assert | warning | Variable violating min/max constraint: 1.0 <= gasForce.T <= 6000.0, has value: 407508
// "
// end SimulationResult;
// {"Files Equal!"}
Expand Down
Expand Up @@ -19,7 +19,7 @@ simulate(Modelica.Media.Examples.MoistAir);
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'Modelica.Media.Examples.MoistAir', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "assert | warning | The following assertion has been violated at time 0.952000
// | | | | medium.x_sat >= 0.0 and medium.x_sat <= 1.0
// assert | warning | Variable medium.x_sat out of [min, max] interval: medium.x_sat >= 0.0 and medium.x_sat <= 1.0 has value: 1.00448
// assert | warning | Variable violating min/max constraint: 0.0 <= medium.x_sat <= 1.0, has value: 1.00448
// "
// end SimulationResult;
// endResult
Expand Up @@ -19,13 +19,13 @@ simulate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates);
// simulationOptions = "startTime = 0.0, stopTime = 22.0, numberOfIntervals = 2500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "assert | warning | The following assertion has been violated at time 20.080589
// | | | | medium.x >= 0.0 and medium.x <= 1.0
// assert | warning | Variable medium.x out of [min, max] interval: medium.x >= 0.0 and medium.x <= 1.0 has value: 1
// assert | warning | Variable violating min/max constraint: 0.0 <= medium.x <= 1.0, has value: 1
// assert | warning | The following assertion has been violated at time 21.964800
// | | | | medium.cp_d >= 0.0 and medium.cp_d <= 1000000.0
// assert | warning | Variable medium.cp_d out of [min, max] interval: medium.cp_d >= 0.0 and medium.cp_d <= 1000000.0 has value: 1.08101e+06
// assert | warning | Variable violating min/max constraint: 0.0 <= medium.cp_d <= 1000000.0, has value: 1.08101e+06
// assert | warning | The following assertion has been violated at time 21.991200
// | | | | medium.cp_b >= 0.0 and medium.cp_b <= 1000000.0
// assert | warning | Variable medium.cp_b out of [min, max] interval: medium.cp_b >= 0.0 and medium.cp_b <= 1000000.0 has value: 1.01516e+06
// assert | warning | Variable violating min/max constraint: 0.0 <= medium.cp_b <= 1000000.0, has value: 1.01516e+06
// "
// end SimulationResult;
// endResult
Expand Up @@ -43,10 +43,10 @@ runScript(modelTesting);getErrorString();
// Result file: Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat
// Messages: assert | warning | The following assertion has been violated at time 35.406941
// | | | | tank1.m >= 0.0
// assert | warning | Variable tank1.m out of [min, max] interval: tank1.m >= 0.0 has value: -9.95587e-08
// assert | warning | Variable violating min constraint: 0.0 <= tank1.m, has value: -9.95586e-08
// assert | warning | The following assertion has been violated at time 35.406941
// | | | | tank1.level >= 0.0
// assert | warning | Variable tank1.level out of [min, max] interval: tank1.level >= 0.0 has value: -1e-10
// assert | warning | Variable violating min constraint: 0.0 <= tank1.level, has value: -1e-10
//
// Files Equal!
// "true
Expand Down
Expand Up @@ -29,7 +29,7 @@ runScript(modelTesting);getErrorString();
// Result file: Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat
// Messages: assert | warning | The following assertion has been violated at time 0.000000
// | | | | wheel.ri >= 0.0
// assert | warning | Variable wheel.ri out of [min, max] interval: wheel.ri >= 0.0 has value: -0.05
// assert | warning | Variable violating min constraint: 0.0 <= wheel.ri, has value: -0.05
//
// Files Equal!
// "true
Expand Down
Expand Up @@ -29,7 +29,7 @@ runScript(modelTesting);getErrorString();
// Result file: Modelica.Media.Examples.MoistAir_res.mat
// Messages: assert | warning | The following assertion has been violated at time 0.954000
// | | | | medium.x_sat >= 0.0 and medium.x_sat <= 1.0
// assert | warning | Variable medium.x_sat out of [min, max] interval: medium.x_sat >= 0.0 and medium.x_sat <= 1.0 has value: 1.00869
// assert | warning | Variable violating min/max constraint: 0.0 <= medium.x_sat <= 1.0, has value: 1.00869
//
// Files Equal!
// Warning: Alias set with several free start values
Expand Down
Expand Up @@ -31,10 +31,10 @@ runScript(modelTesting);getErrorString();
// Result file: Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat
// Messages: assert | warning | The following assertion has been violated at time 0.448000
// | | | | medium.X_liquid >= 0.0 and medium.X_liquid <= 1.0
// assert | warning | Variable medium.X_liquid out of [min, max] interval: medium.X_liquid >= 0.0 and medium.X_liquid <= 1.0 has value: -0.00037869
// assert | warning | Variable violating min/max constraint: 0.0 <= medium.X_liquid <= 1.0, has value: -0.00037869
// assert | warning | The following assertion has been violated at time 0.954000
// | | | | medium.x_sat >= 0.0 and medium.x_sat <= 1.0
// assert | warning | Variable medium.x_sat out of [min, max] interval: medium.x_sat >= 0.0 and medium.x_sat <= 1.0 has value: 1.0089
// assert | warning | Variable violating min/max constraint: 0.0 <= medium.x_sat <= 1.0, has value: 1.0089
//
// Files Equal!
// Warning: Alias set with several free start values
Expand Down
Expand Up @@ -34,13 +34,13 @@ runScript(modelTesting);getErrorString();
// Result file: Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat
// Messages: assert | warning | The following assertion has been violated at time 0.002020
// | | | | volume.medium.X_liquid >= 0.0 and volume.medium.X_liquid <= 1.0
// assert | warning | Variable volume.medium.X_liquid out of [min, max] interval: volume.medium.X_liquid >= 0.0 and volume.medium.X_liquid <= 1.0 has value: -0.00711991
// assert | warning | Variable violating min/max constraint: 0.0 <= volume.medium.X_liquid <= 1.0, has value: -0.00711991
// assert | warning | The following assertion has been violated at time 0.002020
// | | | | fixedMassFlowRate.medium.X_liquid >= 0.0 and fixedMassFlowRate.medium.X_liquid <= 1.0
// assert | warning | Variable fixedMassFlowRate.medium.X_liquid out of [min, max] interval: fixedMassFlowRate.medium.X_liquid >= 0.0 and fixedMassFlowRate.medium.X_liquid <= 1.0 has value: -0.315952
// assert | warning | Variable violating min/max constraint: 0.0 <= fixedMassFlowRate.medium.X_liquid <= 1.0, has value: -0.315952
// assert | warning | The following assertion has been violated at time 0.002020
// | | | | ambient.medium.X_liquid >= 0.0 and ambient.medium.X_liquid <= 1.0
// assert | warning | Variable ambient.medium.X_liquid out of [min, max] interval: ambient.medium.X_liquid >= 0.0 and ambient.medium.X_liquid <= 1.0 has value: -0.00448846
// assert | warning | Variable violating min/max constraint: 0.0 <= ambient.medium.X_liquid <= 1.0, has value: -0.00448846
//
// Files Equal!
// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
Expand Down
Expand Up @@ -39,16 +39,16 @@ runScript(modelTesting);getErrorString();
// Result file: Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat
// Messages: assert | warning | The following assertion has been violated at time 0.002020
// | | | | volume.medium.X_liquid >= 0.0 and volume.medium.X_liquid <= 1.0
// assert | warning | Variable volume.medium.X_liquid out of [min, max] interval: volume.medium.X_liquid >= 0.0 and volume.medium.X_liquid <= 1.0 has value: -0.0163519
// assert | warning | Variable violating min/max constraint: 0.0 <= volume.medium.X_liquid <= 1.0, has value: -0.0163519
// assert | warning | The following assertion has been violated at time 0.002020
// | | | | fixedMassFlowRate.medium.X_liquid >= 0.0 and fixedMassFlowRate.medium.X_liquid <= 1.0
// assert | warning | Variable fixedMassFlowRate.medium.X_liquid out of [min, max] interval: fixedMassFlowRate.medium.X_liquid >= 0.0 and fixedMassFlowRate.medium.X_liquid <= 1.0 has value: -0.484032
// assert | warning | Variable violating min/max constraint: 0.0 <= fixedMassFlowRate.medium.X_liquid <= 1.0, has value: -0.484032
// assert | warning | The following assertion has been violated at time 0.002020
// | | | | volume1.medium.X_liquid >= 0.0 and volume1.medium.X_liquid <= 1.0
// assert | warning | Variable volume1.medium.X_liquid out of [min, max] interval: volume1.medium.X_liquid >= 0.0 and volume1.medium.X_liquid <= 1.0 has value: -0.0125642
// assert | warning | Variable violating min/max constraint: 0.0 <= volume1.medium.X_liquid <= 1.0, has value: -0.0125642
// assert | warning | The following assertion has been violated at time 0.002020
// | | | | ambient.medium.X_liquid >= 0.0 and ambient.medium.X_liquid <= 1.0
// assert | warning | Variable ambient.medium.X_liquid out of [min, max] interval: ambient.medium.X_liquid >= 0.0 and ambient.medium.X_liquid <= 1.0 has value: -0.0122993
// assert | warning | Variable violating min/max constraint: 0.0 <= ambient.medium.X_liquid <= 1.0, has value: -0.0122993
//
// Files Equal!
// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
Expand Down

0 comments on commit 4fd107d

Please sign in to comment.