Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_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.001054/0.001054, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001257/0.001257, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3045, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1528/0.4573, allocations: 151 MB / 0.6658 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4592, allocations: 1.316 MB / 0.6671 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.4593, allocations: 0 / 0.6671 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.4596, allocations: 43.8 kB / 0.6671 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.4628, allocations: 1.034 MB / 0.6682 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.839e-06/0.4628, allocations: 0 / 0.6682 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.4629, allocations: 55.67 kB / 0.6682 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.463, allocations: 3.984 kB / 0.6682 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.463, allocations: 15.98 kB / 0.6682 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.4631, allocations: 27.84 kB / 0.6683 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.695e-06/0.4631, allocations: 0 / 0.6683 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.4662, allocations: 1.786 MB / 0.67 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.4662, allocations: 11.92 kB / 0.67 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.4663, allocations: 27.81 kB / 0.67 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.4681, allocations: 0.8845 MB / 0.6709 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4681, allocations: 4 kB / 0.6709 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4681, allocations: 0 / 0.6709 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5e-06/0.4682, allocations: 0 / 0.6709 GB, free: 15.4 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008771/0.469, allocations: 0.4939 MB / 0.6714 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4691, allocations: 8.031 kB / 0.6714 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.4691, allocations: 34.69 kB / 0.6714 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.4692, allocations: 4.938 kB / 0.6714 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/0.4693, allocations: 171.4 kB / 0.6716 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4693, allocations: 4 kB / 0.6716 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4693, allocations: 4 kB / 0.6716 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.4695, allocations: 77.61 kB / 0.6717 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4695, allocations: 0 / 0.6717 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.4695, allocations: 0 / 0.6717 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.4695, allocations: 4 kB / 0.6717 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.4696, allocations: 47.97 kB / 0.6717 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.47, allocations: 308.7 kB / 0.672 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.4701, allocations: 30.58 kB / 0.6721 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.4701, allocations: 16.95 kB / 0.6721 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.4704, allocations: 255.2 kB / 0.6723 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4704, allocations: 42.56 kB / 0.6724 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.4704, allocations: 0 / 0.6724 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.4706, allocations: 57.58 kB / 0.6724 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.4707, allocations: 55.39 kB / 0.6725 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.4707, allocations: 105.8 kB / 0.6726 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4708, allocations: 29.7 kB / 0.6726 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.4708, allocations: 92.03 kB / 0.6727 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.4708, allocations: 19.84 kB / 0.6727 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.4709, allocations: 17.72 kB / 0.6727 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.471, allocations: 318.8 kB / 0.673 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.471, allocations: 8.109 kB / 0.673 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.471, allocations: 43.36 kB / 0.6731 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.4711, allocations: 47.75 kB / 0.6731 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4711, allocations: 0 / 0.6731 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001146/0.4712, allocations: 77.58 kB / 0.6732 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4712, allocations: 8 kB / 0.6732 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4713, allocations: 8.031 kB / 0.6732 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4713, allocations: 0 / 0.6732 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.4714, allocations: 19.92 kB / 0.6732 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4714, allocations: 0 / 0.6732 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.4714, allocations: 7.953 kB / 0.6732 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4714, allocations: 4 kB / 0.6732 GB, free: 12.71 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 6.682e-05/0.4715, allocations: 109.8 kB / 0.6733 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.4715, allocations: 7.938 kB / 0.6733 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.4717, allocations: 73.25 kB / 0.6734 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4717, allocations: 0 / 0.6734 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4717, allocations: 4 kB / 0.6734 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4717, allocations: 0 / 0.6734 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4719, allocations: 161.7 kB / 0.6736 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4719, allocations: 3.938 kB / 0.6736 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.4719, allocations: 11.98 kB / 0.6736 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4719, allocations: 0 / 0.6736 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.4719, allocations: 8 kB / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.472, allocations: 0 / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.472, allocations: 0 / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.4721, allocations: 151.5 kB / 0.6737 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.4721, allocations: 88.94 kB / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.4722, allocations: 3.984 kB / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.4722, allocations: 4 kB / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.4722, allocations: 0 / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.4722, allocations: 8 kB / 0.6738 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.4723, allocations: 75.28 kB / 0.6739 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4723, allocations: 0 / 0.6739 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005126/0.4728, allocations: 139.5 kB / 0.674 GB, free: 11.78 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.001098/0.4739, allocations: 0.9088 MB / 0.6749 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.474, allocations: 27.92 kB / 0.675 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.474, allocations: 0 / 0.675 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.4741, allocations: 11.94 kB / 0.675 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.4743, allocations: 15.22 kB / 0.675 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.4749, allocations: 233 kB / 0.6752 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.4751, allocations: 0.6846 MB / 0.6759 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.985e-05/0.4752, allocations: 15.98 kB / 0.6759 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.4752, allocations: 11.44 kB / 0.6759 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.4752, allocations: 0 / 0.6759 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.4969, allocations: 4.503 MB / 0.6803 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.163, allocations: 12.66 kB / 0.6803 GB, free: 5.348 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches