Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008475/0.0008472, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007074/0.0007075, allocations: 93.47 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1881, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2841/0.4722, allocations: 138.5 MB / 0.5017 GB, free: 1.309 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007536/0.473, allocations: 0.5567 MB / 0.5022 GB, free: 1.293 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.737e-05/0.4731, allocations: 0 / 0.5022 GB, free: 1.293 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.4735, allocations: 52.11 kB / 0.5023 GB, free: 1.293 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.4738, allocations: 141.4 kB / 0.5024 GB, free: 1.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4762, allocations: 0.9121 MB / 0.5033 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.4766, allocations: 397.4 kB / 0.5037 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.4766, allocations: 9.953 kB / 0.5037 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.4769, allocations: 137.4 kB / 0.5038 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.4771, allocations: 127.2 kB / 0.5039 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.4772, allocations: 12.81 kB / 0.5039 GB, free: 1.246 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.4795, allocations: 1.656 MB / 0.5056 GB, free: 1.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.4796, allocations: 66.53 kB / 0.5056 GB, free: 1.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.4797, allocations: 109.9 kB / 0.5057 GB, free: 1.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.4807, allocations: 0.6822 MB / 0.5064 GB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4807, allocations: 0 / 0.5064 GB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4807, allocations: 4 kB / 0.5064 GB, free: 1.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.4807, allocations: 2.656 kB / 0.5064 GB, free: 1.152 MB / 378.7 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.001641/0.4824, allocations: 0.6376 MB / 0.507 GB, free: 16.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4824, allocations: 9.906 kB / 0.507 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.36e-05/0.4825, allocations: 52.31 kB / 0.5071 GB, free: 16.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.4827, allocations: 20.41 kB / 0.5071 GB, free: 16.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4829, allocations: 212 kB / 0.5073 GB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4829, allocations: 16.72 kB / 0.5073 GB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.483, allocations: 18.09 kB / 0.5073 GB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.4835, allocations: 264 kB / 0.5076 GB, free: 16.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4836, allocations: 5.891 kB / 0.5076 GB, free: 16.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.4836, allocations: 6.812 kB / 0.5076 GB, free: 16.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4836, allocations: 6.094 kB / 0.5076 GB, free: 16.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.4842, allocations: 271.5 kB / 0.5079 GB, free: 16.36 MB / 394.7 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.001284/0.4855, allocations: 0.7804 MB / 0.5086 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.486, allocations: 226.4 kB / 0.5088 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.4863, allocations: 138.9 kB / 0.509 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.4866, allocations: 352.6 kB / 0.5093 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4867, allocations: 39.12 kB / 0.5093 GB, free: 15.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.4867, allocations: 0.5938 kB / 0.5093 GB, free: 15.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002418/0.4891, allocations: 0.6714 MB / 0.51 GB, free: 15.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4891, allocations: 82.08 kB / 0.5101 GB, free: 15.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.4892, allocations: 123.2 kB / 0.5102 GB, free: 15.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4893, allocations: 29.39 kB / 0.5102 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.4893, allocations: 106.7 kB / 0.5103 GB, free: 14.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.4894, allocations: 130.8 kB / 0.5105 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.4894, allocations: 3.75 kB / 0.5105 GB, free: 14.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.4895, allocations: 327.1 kB / 0.5108 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.4899, allocations: 139 kB / 0.5109 GB, free: 14.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.4902, allocations: 205.9 kB / 0.5111 GB, free: 14.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.4909, allocations: 352.9 kB / 0.5114 GB, free: 14.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4909, allocations: 0 / 0.5114 GB, free: 14.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008075/0.4917, allocations: 408.1 kB / 0.5118 GB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4917, allocations: 5.031 kB / 0.5118 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4917, allocations: 6.812 kB / 0.5118 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4918, allocations: 11.42 kB / 0.5118 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.4922, allocations: 89.27 kB / 0.5119 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.4922, allocations: 9.281 kB / 0.5119 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.4925, allocations: 35.25 kB / 0.512 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.4926, allocations: 14.41 kB / 0.512 GB, free: 14.34 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.4927, allocations: 151.5 kB / 0.5121 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.4928, allocations: 18.92 kB / 0.5122 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.4931, allocations: 174.7 kB / 0.5123 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4931, allocations: 4.562 kB / 0.5123 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4931, allocations: 0.5625 kB / 0.5123 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4931, allocations: 3.422 kB / 0.5123 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.4946, allocations: 0.7483 MB / 0.5131 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4946, allocations: 8.656 kB / 0.5131 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.4951, allocations: 80.84 kB / 0.5131 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4951, allocations: 3.062 kB / 0.5131 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.4951, allocations: 13.19 kB / 0.5132 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.4951, allocations: 3.062 kB / 0.5132 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4951, allocations: 3.719 kB / 0.5132 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.4964, allocations: 0.7114 MB / 0.5139 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4966, allocations: 122.3 kB / 0.514 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.4966, allocations: 9.938 kB / 0.514 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.497, allocations: 26.03 kB / 0.514 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.497, allocations: 25.44 kB / 0.514 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.4971, allocations: 18.38 kB / 0.5141 GB, free: 13.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.4971, allocations: 91.88 kB / 0.5141 GB, free: 13.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4971, allocations: 2.844 kB / 0.5141 GB, free: 13.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005488/0.4977, allocations: 138.8 kB / 0.5143 GB, free: 13.32 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/0.4996, allocations: 1.371 MB / 0.5156 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.5004, allocations: 341.8 kB / 0.5159 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5004, allocations: 0 / 0.5159 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.5008, allocations: 177.3 kB / 0.5161 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.5015, allocations: 110.4 kB / 0.5162 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.5044, allocations: 1.59 MB / 0.5178 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.5047, allocations: 0.7367 MB / 0.5185 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.5049, allocations: 66.91 kB / 0.5186 GB, free: 11.03 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5049, allocations: 1.156 kB / 0.5186 GB, free: 11.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.899/3.404, allocations: 4.347 MB / 0.5228 GB, free: 10.08 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_cpp_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches