Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01031/0.01031, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.002209/0.002209, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.478/2.478, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 64.12 kB / 1.018 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9594, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002795/0.9623, allocations: 1.27 MB / 1.168 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004544/0.9668, allocations: 2.932 MB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.9669, allocations: 3.938 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.967, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.9671, allocations: 7.922 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.9678, allocations: 99.55 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.968, allocations: 39.91 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.968, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006608/0.9687, allocations: 151.5 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.9688, allocations: 15.98 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.9688, allocations: 3.938 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.969, allocations: 75.81 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.969, allocations: 3.984 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.9691, allocations: 15.94 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.9693, allocations: 59.44 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9693, allocations: 3.938 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9694, allocations: 4 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.9694, allocations: 3.984 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005926/0.97, allocations: 340.4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.97, allocations: 12.92 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.9701, allocations: 0.9375 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.9702, allocations: 168.3 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.9703, allocations: 384 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.9703, allocations: 16.31 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.9705, allocations: 65.72 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9705, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.9705, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.9705, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/0.9706, allocations: 15.98 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.9708, allocations: 165.7 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.9709, allocations: 62.47 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.971, allocations: 16.86 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008317/0.9718, allocations: 0.5907 MB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.9719, allocations: 42.48 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.9719, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0007134/0.9726, allocations: 302.6 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.9726, allocations: 59.41 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.9727, allocations: 93.86 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.9728, allocations: 29.7 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.9728, allocations: 92.08 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.9729, allocations: 27.75 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.9729, allocations: 29.64 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9731, allocations: 318.8 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.9731, allocations: 23.92 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.9732, allocations: 45.16 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.9733, allocations: 77.08 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9733, allocations: 0 / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001778/0.9735, allocations: 97.5 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.9735, allocations: 4 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.9735, allocations: 0 / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.9735, allocations: 4 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.9736, allocations: 23.92 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.9737, allocations: 4.438 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.9737, allocations: 12.06 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.9737, allocations: 4 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 0.0001225/0.9739, allocations: 113.8 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.9739, allocations: 4 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.9739, allocations: 11.97 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9739, allocations: 0 / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.974, allocations: 0 / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.974, allocations: 7.922 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.9742, allocations: 169.7 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9743, allocations: 4 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.9744, allocations: 19.94 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9744, allocations: 0 / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.9744, allocations: 4 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9744, allocations: 0 / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9744, allocations: 0 / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.9747, allocations: 179.7 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.9747, allocations: 81.23 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.9748, allocations: 3.984 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.9749, allocations: 11.94 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.9749, allocations: 7.938 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.9749, allocations: 7.938 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.975, allocations: 87.2 kB / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.81e-07/0.975, allocations: 0 / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002575/0.9753, allocations: 12 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 0.0001645/0.9754, allocations: 99.47 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.9756, allocations: 47.92 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9756, allocations: 0 / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.9756, allocations: 15.98 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.9759, allocations: 17.94 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.9766, allocations: 330.1 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.9769, allocations: 0.6807 MB / 1.176 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.303e-05/0.977, allocations: 11.98 kB / 1.176 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.977, allocations: 15.42 kB / 1.176 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.977, allocations: 0 / 1.176 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of Templates: time 0.003571/0.9806, allocations: 0.6241 MB / 1.176 GB, free: 9.324 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches