Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 190.3 kB / 16.67 MB, free: 6.543 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.447/1.447, allocations: 222.9 MB / 240.3 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3588, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.00646/0.3654, allocations: 4.425 MB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.3684, allocations: 2.695 MB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.3685, allocations: 4 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.3689, allocations: 51.67 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.3693, allocations: 91.38 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3705, allocations: 0.4973 MB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.3708, allocations: 247.9 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.3709, allocations: 13.56 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009759/0.3719, allocations: 411.3 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.372, allocations: 95.59 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.3721, allocations: 4 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.3731, allocations: 0.4912 MB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.3732, allocations: 35.83 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.3733, allocations: 83.64 kB / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.3739, allocations: 350.9 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3739, allocations: 0 / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3739, allocations: 0 / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3739, allocations: 0 / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007995/0.3748, allocations: 0.4986 MB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3748, allocations: 16.03 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.375, allocations: 20.84 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.3753, allocations: 216.1 kB / 1.177 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3754, allocations: 12.7 kB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3754, allocations: 20.36 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.3758, allocations: 249.1 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3758, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.3759, allocations: 8 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.3759, allocations: 8 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.3764, allocations: 435.5 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3774, allocations: 1.004 MB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3777, allocations: 159.8 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3778, allocations: 60.88 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.3793, allocations: 1.829 MB / 1.18 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3793, allocations: 38.55 kB / 1.18 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.3793, allocations: 0 / 1.18 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003551/0.3797, allocations: 145.5 kB / 1.18 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3797, allocations: 59.34 kB / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3799, allocations: 176.7 kB / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3799, allocations: 29.7 kB / 1.181 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.38, allocations: 140.1 kB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.3801, allocations: 63.47 kB / 1.181 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.3802, allocations: 49.7 kB / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3803, allocations: 322.8 kB / 1.181 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.3804, allocations: 35.98 kB / 1.181 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3806, allocations: 147.1 kB / 1.181 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.3808, allocations: 191.9 kB / 1.182 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3808, allocations: 0 / 1.182 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003162/0.3811, allocations: 221.1 kB / 1.182 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3812, allocations: 9.875 kB / 1.182 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3812, allocations: 7.984 kB / 1.182 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3812, allocations: 4 kB / 1.182 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3814, allocations: 55.86 kB / 1.182 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3814, allocations: 8.469 kB / 1.182 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3815, allocations: 31.78 kB / 1.182 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3816, allocations: 8 kB / 1.182 GB, free: 6.332 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001208/0.3817, allocations: 137.8 kB / 1.182 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.3817, allocations: 15.91 kB / 1.182 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.3821, allocations: 150.9 kB / 1.182 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.3821, allocations: 7.938 kB / 1.182 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3821, allocations: 0 / 1.182 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3821, allocations: 3.984 kB / 1.182 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.3824, allocations: 213.5 kB / 1.182 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3824, allocations: 4 kB / 1.182 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.3825, allocations: 31.92 kB / 1.182 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3825, allocations: 3.984 kB / 1.182 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3825, allocations: 4 kB / 1.182 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.3825, allocations: 11.88 kB / 1.183 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3825, allocations: 0 / 1.183 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.3828, allocations: 224.3 kB / 1.183 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.3829, allocations: 108.9 kB / 1.183 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3829, allocations: 4 kB / 1.183 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.3831, allocations: 19.92 kB / 1.183 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.3831, allocations: 11.98 kB / 1.183 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3832, allocations: 8 kB / 1.183 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.3833, allocations: 124.9 kB / 1.183 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3833, allocations: 0 / 1.183 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003759/0.3836, allocations: 79.86 kB / 1.183 GB, free: 5.094 MB / 0.9356 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000325/0.384, allocations: 182.8 kB / 1.183 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3842, allocations: 122.7 kB / 1.183 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3842, allocations: 4 kB / 1.183 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.3843, allocations: 44.86 kB / 1.183 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3847, allocations: 43.95 kB / 1.183 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.3854, allocations: 342.8 kB / 1.184 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3857, allocations: 0.7168 MB / 1.184 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.3859, allocations: 49.67 kB / 1.185 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.3859, allocations: 27.42 kB / 1.185 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3859, allocations: 0 / 1.185 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.00689/0.3928, allocations: 3.371 MB / 1.188 GB, free: 192 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches