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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008774/0.0008775, allocations: 88.2 kB / 16.03 MB, free: 56 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.001065/0.001065, allocations: 187.8 kB / 16.93 MB, free: 6.891 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437.8 MB / 0.7128 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 12 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6615/0.6619, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005052/0.667, allocations: 4.105 MB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.6698, allocations: 2.668 MB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.67, allocations: 4 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.6703, allocations: 35.8 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.6706, allocations: 87.42 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.6718, allocations: 450.3 kB / 1.031 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.6722, allocations: 315.7 kB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.6722, allocations: 9.562 kB / 1.031 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009686/0.6732, allocations: 406.9 kB / 1.032 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.6734, allocations: 91.64 kB / 1.032 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.6734, allocations: 8 kB / 1.032 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009659/0.6744, allocations: 0.491 MB / 1.032 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.6745, allocations: 31.91 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.6746, allocations: 101.4 kB / 1.032 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.675, allocations: 249.4 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.675, allocations: 0 / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6751, allocations: 0 / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.6751, allocations: 3.938 kB / 1.032 GB, free: 6.824 MB / 0.7794 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.0006841/0.6758, allocations: 475.3 kB / 1.033 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6758, allocations: 8.031 kB / 1.033 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.676, allocations: 20.83 kB / 1.033 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.6762, allocations: 216 kB / 1.033 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.6762, allocations: 16.7 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.6762, allocations: 12.38 kB / 1.033 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.6766, allocations: 241.1 kB / 1.033 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6766, allocations: 0 / 1.033 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.6767, allocations: 15.98 kB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.6767, allocations: 7.984 kB / 1.033 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.6772, allocations: 432 kB / 1.034 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.6782, allocations: 1.008 MB / 1.035 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.6785, allocations: 151.1 kB / 1.035 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.6786, allocations: 64.88 kB / 1.035 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.6799, allocations: 1.833 MB / 1.037 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.68, allocations: 34.56 kB / 1.037 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.68, allocations: 0 / 1.037 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003287/0.6803, allocations: 145.4 kB / 1.037 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.6803, allocations: 59.34 kB / 1.037 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.6805, allocations: 165.4 kB / 1.037 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.6805, allocations: 29.7 kB / 1.037 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.6806, allocations: 143.8 kB / 1.037 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.6807, allocations: 51.2 kB / 1.037 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.6807, allocations: 29.7 kB / 1.037 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6808, allocations: 326.8 kB / 1.038 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.6809, allocations: 35.97 kB / 1.038 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.681, allocations: 137.7 kB / 1.038 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.6813, allocations: 191.8 kB / 1.038 GB, free: 308 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6813, allocations: 4 kB / 1.038 GB, free: 304 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003133/0.6816, allocations: 217.3 kB / 1.038 GB, free: 80 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6816, allocations: 9.562 kB / 1.038 GB, free: 72 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.6816, allocations: 4 kB / 1.038 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.6817, allocations: 4 kB / 1.038 GB, free: 64 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.6818, allocations: 55.86 kB / 1.038 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.6819, allocations: 12.03 kB / 1.038 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.682, allocations: 35.61 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.682, allocations: 16 kB / 1.038 GB, free: 15.94 MB / 0.795 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.0001044/0.6821, allocations: 130 kB / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.6822, allocations: 15.81 kB / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.6825, allocations: 160.4 kB / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.6825, allocations: 7.938 kB / 1.039 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6825, allocations: 0 / 1.039 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.6825, allocations: 0 / 1.039 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.6827, allocations: 217.5 kB / 1.039 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6828, allocations: 3.984 kB / 1.039 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.6828, allocations: 20 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6829, allocations: 4 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6829, allocations: 11.98 kB / 1.039 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6829, allocations: 3.938 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6829, allocations: 0 / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.6831, allocations: 215.3 kB / 1.039 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.6832, allocations: 108.9 kB / 1.039 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.6833, allocations: 0 / 1.039 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.6835, allocations: 29.05 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.6835, allocations: 7.984 kB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.6835, allocations: 15.98 kB / 1.039 GB, free: 14.92 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.69e-05/0.6836, allocations: 122.3 kB / 1.04 GB, free: 14.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6836, allocations: 0 / 1.04 GB, free: 14.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003924/0.684, allocations: 83.83 kB / 1.04 GB, free: 14.72 MB / 0.795 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.0003089/0.6844, allocations: 187 kB / 1.04 GB, free: 14.53 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.6846, allocations: 111.8 kB / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6846, allocations: 11.86 kB / 1.04 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.6847, allocations: 45.98 kB / 1.04 GB, free: 14.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.6851, allocations: 51.95 kB / 1.04 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.6858, allocations: 455.2 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.6861, allocations: 0.7209 MB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.6862, allocations: 31.38 kB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.6862, allocations: 0 / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of Templates: time 0.005483/0.6917, allocations: 3.116 MB / 1.044 GB, free: 9.965 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches