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.00157/0.001571, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001639/0.001639, allocations: 195 kB / 18.67 MB, free: 4.414 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.278/1.278, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001295/0.001295, allocations: 51.94 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08128, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3067/0.388, allocations: 152.7 MB / 0.515 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.389, allocations: 0.5992 MB / 0.5156 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3891, allocations: 4 kB / 0.5156 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.3895, allocations: 59.66 kB / 0.5156 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.3899, allocations: 151.1 kB / 0.5158 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.393, allocations: 1.076 MB / 0.5168 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.3934, allocations: 326.9 kB / 0.5171 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.3935, allocations: 17.39 kB / 0.5172 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.3938, allocations: 155.4 kB / 0.5173 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.394, allocations: 119.6 kB / 0.5174 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.3941, allocations: 12 kB / 0.5174 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.3969, allocations: 1.61 MB / 0.519 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.397, allocations: 71.83 kB / 0.5191 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3972, allocations: 87.66 kB / 0.5192 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.3991, allocations: 1.01 MB / 0.5201 GB, free: 1.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3991, allocations: 0 / 0.5201 GB, free: 1.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3991, allocations: 4 kB / 0.5201 GB, free: 1.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3991, allocations: 0 / 0.5201 GB, free: 1.371 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.001779/0.4009, allocations: 0.6715 MB / 0.5208 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.401, allocations: 12.03 kB / 0.5208 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.4011, allocations: 50.67 kB / 0.5209 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.4012, allocations: 24.73 kB / 0.5209 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.4015, allocations: 207.8 kB / 0.5211 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4015, allocations: 20.33 kB / 0.5211 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.4015, allocations: 16 kB / 0.5211 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.4021, allocations: 257.4 kB / 0.5214 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4021, allocations: 3.906 kB / 0.5214 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.4021, allocations: 8 kB / 0.5214 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.4022, allocations: 7.938 kB / 0.5214 GB, free: 0 / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/0.4028, allocations: 267.9 kB / 0.5216 GB, free: 15.73 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.001372/0.4041, allocations: 0.8046 MB / 0.5224 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.4048, allocations: 217.2 kB / 0.5226 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.4051, allocations: 141.6 kB / 0.5228 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.4054, allocations: 352.4 kB / 0.5231 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4054, allocations: 38.56 kB / 0.5231 GB, free: 14.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.4054, allocations: 0 / 0.5231 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002298/0.4077, allocations: 0.6817 MB / 0.5238 GB, free: 13.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4078, allocations: 81.11 kB / 0.5239 GB, free: 13.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.4079, allocations: 117.8 kB / 0.524 GB, free: 13.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.4079, allocations: 29.7 kB / 0.524 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.408, allocations: 108.8 kB / 0.5241 GB, free: 12.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.4081, allocations: 126.1 kB / 0.5242 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4082, allocations: 69.64 kB / 0.5243 GB, free: 12.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4083, allocations: 330.8 kB / 0.5246 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.4087, allocations: 127.9 kB / 0.5247 GB, free: 12.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.4091, allocations: 216.4 kB / 0.525 GB, free: 12.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.4098, allocations: 347.5 kB / 0.5253 GB, free: 11.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4098, allocations: 0 / 0.5253 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000899/0.4108, allocations: 421.1 kB / 0.5257 GB, free: 11.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4108, allocations: 4.219 kB / 0.5257 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4108, allocations: 8.375 kB / 0.5257 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4108, allocations: 7.938 kB / 0.5257 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.4113, allocations: 83.88 kB / 0.5258 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4113, allocations: 4 kB / 0.5258 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.4116, allocations: 34.7 kB / 0.5258 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.4117, allocations: 15.98 kB / 0.5258 GB, free: 11.13 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.0001446/0.4118, allocations: 145.7 kB / 0.526 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.4119, allocations: 23.8 kB / 0.526 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.4123, allocations: 171.1 kB / 0.5262 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4123, allocations: 4 kB / 0.5262 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4123, allocations: 4 kB / 0.5262 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.4123, allocations: 3.984 kB / 0.5262 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.4139, allocations: 0.7521 MB / 0.5269 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4139, allocations: 7.938 kB / 0.5269 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.4144, allocations: 87.97 kB / 0.527 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.4144, allocations: 4 kB / 0.527 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.4144, allocations: 8 kB / 0.527 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4144, allocations: 4 kB / 0.527 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4144, allocations: 0 / 0.527 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.4158, allocations: 0.7112 MB / 0.5277 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.4159, allocations: 128.8 kB / 0.5278 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.416, allocations: 8 kB / 0.5278 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.4163, allocations: 23.98 kB / 0.5279 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4164, allocations: 19.97 kB / 0.5279 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.4164, allocations: 20.05 kB / 0.5279 GB, free: 8.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.4165, allocations: 95.27 kB / 0.528 GB, free: 8.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4165, allocations: 0 / 0.528 GB, free: 8.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.4171, allocations: 143.9 kB / 0.5281 GB, free: 8.648 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.001966/0.4191, allocations: 1.38 MB / 0.5295 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008922/0.42, allocations: 352 kB / 0.5298 GB, free: 6.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.42, allocations: 4 kB / 0.5298 GB, free: 6.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.4204, allocations: 179.6 kB / 0.53 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.4211, allocations: 102.2 kB / 0.5301 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.4256, allocations: 2.81 MB / 0.5328 GB, free: 3.645 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.426, allocations: 0.741 MB / 0.5336 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.4263, allocations: 78.05 kB / 0.5336 GB, free: 2.797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.4265, allocations: 63.39 kB / 0.5337 GB, free: 2.734 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4265, allocations: 0 / 0.5337 GB, free: 2.734 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.4545, allocations: 8.322 MB / 0.5418 GB, free: 10.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.129, allocations: 12 kB / 0.5418 GB, free: 10.34 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