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.001762/0.001762, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001866/0.001866, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.35/1.35, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001595/0.001595, allocations: 55.92 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08705/0.08865, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3372/0.4259, allocations: 152.7 MB / 0.515 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.4268, allocations: 0.5965 MB / 0.5156 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.4269, allocations: 0 / 0.5156 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.4272, allocations: 63.64 kB / 0.5156 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.4276, allocations: 157.8 kB / 0.5158 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.4306, allocations: 1.071 MB / 0.5168 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.431, allocations: 326.8 kB / 0.5171 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.4311, allocations: 17.39 kB / 0.5172 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.4313, allocations: 154.9 kB / 0.5173 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.4316, allocations: 119.6 kB / 0.5174 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.4316, allocations: 12 kB / 0.5174 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.4342, allocations: 1.622 MB / 0.519 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4344, allocations: 63.8 kB / 0.5191 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.4345, allocations: 99.62 kB / 0.5192 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.436, allocations: 1 MB / 0.5202 GB, free: 1.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.436, allocations: 0 / 0.5202 GB, free: 1.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.436, allocations: 4 kB / 0.5202 GB, free: 1.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.436, allocations: 0 / 0.5202 GB, free: 1.375 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.00174/0.4378, allocations: 0.6772 MB / 0.5208 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4378, allocations: 12.03 kB / 0.5208 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.757e-05/0.4379, allocations: 50.73 kB / 0.5209 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.438, allocations: 20.84 kB / 0.5209 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.4383, allocations: 223.7 kB / 0.5211 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4383, allocations: 8.328 kB / 0.5211 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.4384, allocations: 20 kB / 0.5211 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.439, allocations: 265.4 kB / 0.5214 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.439, allocations: 4 kB / 0.5214 GB, free: 0 / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.439, allocations: 4.078 kB / 0.5214 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4391, allocations: 8 kB / 0.5214 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.4397, allocations: 267.7 kB / 0.5217 GB, free: 15.72 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.001492/0.4412, allocations: 0.793 MB / 0.5224 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.4419, allocations: 225.1 kB / 0.5226 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.4423, allocations: 137.6 kB / 0.5228 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/0.4426, allocations: 360.4 kB / 0.5231 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4427, allocations: 30.56 kB / 0.5232 GB, free: 14.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.422e-06/0.4427, allocations: 0 / 0.5232 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002519/0.4452, allocations: 0.682 MB / 0.5238 GB, free: 13.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.4453, allocations: 85.11 kB / 0.5239 GB, free: 13.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4454, allocations: 121.8 kB / 0.524 GB, free: 13.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.4454, allocations: 29.7 kB / 0.524 GB, free: 13.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.4455, allocations: 108.9 kB / 0.5241 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.4456, allocations: 126.9 kB / 0.5243 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4458, allocations: 73.59 kB / 0.5243 GB, free: 12.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4459, allocations: 330.8 kB / 0.5247 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.4463, allocations: 135.9 kB / 0.5248 GB, free: 12.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.4468, allocations: 207.6 kB / 0.525 GB, free: 12.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008468/0.4476, allocations: 359.4 kB / 0.5253 GB, free: 11.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4476, allocations: 4 kB / 0.5253 GB, free: 11.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009992/0.4486, allocations: 401.3 kB / 0.5257 GB, free: 11.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4487, allocations: 8 kB / 0.5257 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4487, allocations: 3.938 kB / 0.5257 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4487, allocations: 8.219 kB / 0.5257 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.4492, allocations: 88.75 kB / 0.5258 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.4492, allocations: 11.92 kB / 0.5258 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.4495, allocations: 23.92 kB / 0.5259 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4496, allocations: 16 kB / 0.5259 GB, free: 11.11 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.0001473/0.4497, allocations: 149.6 kB / 0.526 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.4498, allocations: 19.91 kB / 0.526 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.4502, allocations: 174.3 kB / 0.5262 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.4502, allocations: 8 kB / 0.5262 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4502, allocations: 4 kB / 0.5262 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4502, allocations: 0 / 0.5262 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.4519, allocations: 0.763 MB / 0.527 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4519, allocations: 7.938 kB / 0.527 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.4524, allocations: 75.89 kB / 0.527 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4524, allocations: 4.156 kB / 0.527 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.4524, allocations: 19.92 kB / 0.5271 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4524, allocations: 4 kB / 0.5271 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4524, allocations: 0 / 0.5271 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.4539, allocations: 0.7072 MB / 0.5277 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.454, allocations: 121 kB / 0.5279 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.4541, allocations: 11.98 kB / 0.5279 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.4545, allocations: 15.98 kB / 0.5279 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.4545, allocations: 27.91 kB / 0.5279 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.4545, allocations: 19.98 kB / 0.5279 GB, free: 8.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.4546, allocations: 95.33 kB / 0.528 GB, free: 8.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4546, allocations: 0 / 0.528 GB, free: 8.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005746/0.4552, allocations: 143.7 kB / 0.5282 GB, free: 8.629 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.002149/0.4574, allocations: 1.381 MB / 0.5295 GB, free: 7.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009402/0.4583, allocations: 356.1 kB / 0.5299 GB, free: 6.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4583, allocations: 3.938 kB / 0.5299 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.4588, allocations: 168.8 kB / 0.53 GB, free: 6.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.4595, allocations: 100.5 kB / 0.5301 GB, free: 6.602 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.4643, allocations: 2.83 MB / 0.5329 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4647, allocations: 0.7332 MB / 0.5336 GB, free: 2.852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.465, allocations: 73.91 kB / 0.5337 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.4652, allocations: 63.41 kB / 0.5337 GB, free: 2.715 MB / 462.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4652, allocations: 0 / 0.5337 GB, free: 2.715 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.4983, allocations: 8.248 MB / 0.5418 GB, free: 10.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.983, allocations: 11.84 kB / 0.5418 GB, free: 10.4 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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