Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 113.2 kB / 17.73 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 188.2 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08377, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3075/0.3913, allocations: 152.7 MB / 0.515 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.3922, allocations: 0.5943 MB / 0.5156 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.3923, allocations: 4 kB / 0.5156 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.3927, allocations: 67.64 kB / 0.5156 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.393, allocations: 147.1 kB / 0.5158 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.3959, allocations: 1.072 MB / 0.5168 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.3963, allocations: 322.9 kB / 0.5171 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3964, allocations: 17.38 kB / 0.5171 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.3966, allocations: 154.8 kB / 0.5173 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.3969, allocations: 123.7 kB / 0.5174 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.3969, allocations: 15.94 kB / 0.5174 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.3995, allocations: 1.618 MB / 0.519 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.3996, allocations: 68.8 kB / 0.5191 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3998, allocations: 95.62 kB / 0.5192 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.4012, allocations: 0.9926 MB / 0.5201 GB, free: 1.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4013, allocations: 3.984 kB / 0.5201 GB, free: 1.359 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4013, allocations: 0 / 0.5201 GB, free: 1.359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.4013, allocations: 0 / 0.5201 GB, free: 1.359 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001699/0.403, allocations: 0.6889 MB / 0.5208 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.403, allocations: 8.031 kB / 0.5208 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.074e-05/0.4031, allocations: 50.73 kB / 0.5209 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.4032, allocations: 24.84 kB / 0.5209 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.4035, allocations: 222.5 kB / 0.5211 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.4035, allocations: 16.31 kB / 0.5211 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.4036, allocations: 12 kB / 0.5211 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.4041, allocations: 265.4 kB / 0.5214 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4042, allocations: 0 / 0.5214 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.4042, allocations: 12 kB / 0.5214 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4042, allocations: 4 kB / 0.5214 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.4049, allocations: 271.7 kB / 0.5217 GB, free: 15.7 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.4063, allocations: 0.797 MB / 0.5224 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.407, allocations: 221.2 kB / 0.5226 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.4074, allocations: 137.6 kB / 0.5228 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.4077, allocations: 352.4 kB / 0.5231 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.4078, allocations: 46.5 kB / 0.5232 GB, free: 13.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.4078, allocations: 0 / 0.5232 GB, free: 13.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002498/0.4103, allocations: 0.6709 MB / 0.5238 GB, free: 13.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4103, allocations: 81.11 kB / 0.5239 GB, free: 13.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.4105, allocations: 129.8 kB / 0.524 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.4105, allocations: 33.7 kB / 0.524 GB, free: 13.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.4106, allocations: 108.9 kB / 0.5242 GB, free: 12.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4107, allocations: 123.3 kB / 0.5243 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4108, allocations: 73.59 kB / 0.5243 GB, free: 12.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.411, allocations: 330.8 kB / 0.5247 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.4114, allocations: 135.9 kB / 0.5248 GB, free: 12.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.4118, allocations: 208.4 kB / 0.525 GB, free: 12.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.4127, allocations: 355.4 kB / 0.5253 GB, free: 11.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4127, allocations: 0 / 0.5253 GB, free: 11.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001002/0.4137, allocations: 413.3 kB / 0.5257 GB, free: 11.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4138, allocations: 4 kB / 0.5257 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4138, allocations: 7.938 kB / 0.5257 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4138, allocations: 4 kB / 0.5257 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.4143, allocations: 92.09 kB / 0.5258 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4143, allocations: 10.81 kB / 0.5258 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.4146, allocations: 27.91 kB / 0.5259 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.4146, allocations: 12 kB / 0.5259 GB, free: 11.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.4148, allocations: 149.6 kB / 0.526 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.4149, allocations: 15.91 kB / 0.526 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.4153, allocations: 179.1 kB / 0.5262 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4153, allocations: 7.938 kB / 0.5262 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4153, allocations: 0 / 0.5262 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4153, allocations: 0 / 0.5262 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.417, allocations: 0.7613 MB / 0.5269 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.417, allocations: 3.938 kB / 0.527 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.4175, allocations: 75.89 kB / 0.527 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4175, allocations: 4 kB / 0.527 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.4175, allocations: 15.98 kB / 0.527 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4175, allocations: 0 / 0.527 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4175, allocations: 15.14 kB / 0.5271 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.419, allocations: 0.6994 MB / 0.5277 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4191, allocations: 120.9 kB / 0.5279 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.4192, allocations: 12.06 kB / 0.5279 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.4195, allocations: 23.97 kB / 0.5279 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.4196, allocations: 27.91 kB / 0.5279 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.4196, allocations: 15.98 kB / 0.5279 GB, free: 8.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.4197, allocations: 91.28 kB / 0.528 GB, free: 8.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4197, allocations: 0 / 0.528 GB, free: 8.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005436/0.4202, allocations: 144 kB / 0.5282 GB, free: 8.609 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/0.4223, allocations: 1.389 MB / 0.5295 GB, free: 7.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009257/0.4233, allocations: 354.9 kB / 0.5299 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4233, allocations: 448 / 0.5299 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.4237, allocations: 179.8 kB / 0.53 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.4244, allocations: 101.9 kB / 0.5301 GB, free: 6.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.4291, allocations: 2.835 MB / 0.5329 GB, free: 3.574 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4295, allocations: 0.7293 MB / 0.5336 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.4298, allocations: 77.91 kB / 0.5337 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.43, allocations: 63.41 kB / 0.5337 GB, free: 2.676 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.43, allocations: 0 / 0.5337 GB, free: 2.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.4628, allocations: 8.237 MB / 0.5418 GB, free: 10.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.38, allocations: 8 kB / 0.5418 GB, free: 10.37 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches