Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001672/0.001677, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001875/0.001875, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 60.62 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3414, allocations: 157.4 MB / 1.052 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006677/0.3482, allocations: 4.469 MB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.3512, allocations: 2.679 MB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3513, allocations: 3.938 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.3516, allocations: 39.8 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.352, allocations: 87.48 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3533, allocations: 453.2 kB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.3537, allocations: 243.9 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.3537, allocations: 9.562 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009752/0.3547, allocations: 414.8 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.3549, allocations: 95.59 kB / 1.061 GB, free: 296 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3549, allocations: 8 kB / 1.061 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.3559, allocations: 499 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.356, allocations: 31.89 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3561, allocations: 83.64 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.3569, allocations: 359.3 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3569, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3569, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3569, allocations: 4 kB / 1.061 GB, free: 15.32 MB / 0.8262 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.000911/0.3578, allocations: 0.4992 MB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3579, allocations: 8.625 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.3581, allocations: 20.75 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.3583, allocations: 208.2 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3583, allocations: 12.7 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.3584, allocations: 12.38 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.3588, allocations: 261 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3588, allocations: 4 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3589, allocations: 12 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.3589, allocations: 8 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.3594, allocations: 427.4 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.3606, allocations: 1.011 MB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.3609, allocations: 159.1 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.361, allocations: 64.88 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.3624, allocations: 1.821 MB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.3624, allocations: 34.56 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.3624, allocations: 4 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.000339/0.3628, allocations: 147.5 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3628, allocations: 55.34 kB / 1.066 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.363, allocations: 172 kB / 1.066 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.363, allocations: 29.7 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.393e-05/0.3631, allocations: 143.8 kB / 1.066 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3632, allocations: 47.27 kB / 1.066 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.3632, allocations: 53.69 kB / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3633, allocations: 326.8 kB / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.3634, allocations: 39.92 kB / 1.067 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3636, allocations: 151 kB / 1.067 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.3638, allocations: 195.6 kB / 1.067 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3638, allocations: 0 / 1.067 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003477/0.3642, allocations: 221 kB / 1.067 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3642, allocations: 8.469 kB / 1.067 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3642, allocations: 11.94 kB / 1.067 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3642, allocations: 4 kB / 1.067 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.3644, allocations: 51.86 kB / 1.067 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3645, allocations: 4 kB / 1.067 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3646, allocations: 35.67 kB / 1.068 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.3646, allocations: 12 kB / 1.068 GB, free: 8.371 MB / 0.8262 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.0001384/0.3648, allocations: 139 kB / 1.068 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.3648, allocations: 15.81 kB / 1.068 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.3651, allocations: 147 kB / 1.068 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3651, allocations: 11.92 kB / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3652, allocations: 0 / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3652, allocations: 0 / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3654, allocations: 213.5 kB / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3654, allocations: 0 / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.3655, allocations: 31.92 kB / 1.068 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3655, allocations: 0 / 1.068 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3656, allocations: 4 kB / 1.068 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3656, allocations: 3.938 kB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3656, allocations: 4 kB / 1.068 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3658, allocations: 225.6 kB / 1.068 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.3659, allocations: 108.9 kB / 1.068 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.366, allocations: 12 kB / 1.068 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3662, allocations: 15.92 kB / 1.068 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.3662, allocations: 11.98 kB / 1.068 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.3662, allocations: 15.98 kB / 1.068 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.556e-05/0.3663, allocations: 116 kB / 1.069 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3663, allocations: 0 / 1.069 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003783/0.3667, allocations: 76 kB / 1.069 GB, free: 7.148 MB / 0.8262 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.0003669/0.3671, allocations: 183 kB / 1.069 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3674, allocations: 131.9 kB / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3674, allocations: 0 / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.3674, allocations: 47.91 kB / 1.069 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3679, allocations: 51.38 kB / 1.069 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.3686, allocations: 394.8 kB / 1.069 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3689, allocations: 0.709 MB / 1.07 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.3691, allocations: 53.72 kB / 1.07 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.3692, allocations: 23.44 kB / 1.07 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3692, allocations: 0 / 1.07 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.006703/0.3759, allocations: 3.32 MB / 1.073 GB, free: 2.223 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches