Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008457/0.0008458, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001038/0.001038, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.686/2.686, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003769, allocations: 11.94 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.863, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001598/0.8647, allocations: 1.493 MB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.8649, allocations: 114.2 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.865, allocations: 1.125 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.26e-05/0.8651, allocations: 12.98 kB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.8652, allocations: 50.23 kB / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.8653, allocations: 23.5 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.8655, allocations: 156.1 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.8656, allocations: 35.77 kB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.8657, allocations: 44.91 kB / 0.9563 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.8658, allocations: 55.95 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.8658, allocations: 9.188 kB / 0.9564 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.349e-05/0.8658, allocations: 3.656 kB / 0.9564 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.8659, allocations: 26.52 kB / 0.9564 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.8659, allocations: 47.64 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.882e-05/0.866, allocations: 79.23 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.866, allocations: 0 / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.866, allocations: 5.625 kB / 0.9565 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.866, allocations: 3.938 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006259/0.8667, allocations: 445.3 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.8667, allocations: 9.188 kB / 0.957 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.8668, allocations: 18.98 kB / 0.957 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.8669, allocations: 198.8 kB / 0.9572 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.867, allocations: 10.44 kB / 0.9572 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.867, allocations: 8.594 kB / 0.9572 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.8673, allocations: 124.7 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8673, allocations: 1.438 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.8673, allocations: 0 / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.8673, allocations: 2.531 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.8676, allocations: 119.8 kB / 0.9574 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.8682, allocations: 473.2 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.8686, allocations: 132.2 kB / 0.958 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.8687, allocations: 76.67 kB / 0.9581 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.8688, allocations: 6.844 kB / 0.9581 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8688, allocations: 30.56 kB / 0.9581 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.8688, allocations: 0 / 0.9581 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005464/0.8694, allocations: 204.4 kB / 0.9583 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.8694, allocations: 83.5 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.8695, allocations: 170 kB / 0.9585 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.8696, allocations: 25.7 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.8696, allocations: 109.6 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.8697, allocations: 30.95 kB / 0.9587 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.8697, allocations: 1.156 kB / 0.9587 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.8697, allocations: 326.3 kB / 0.959 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.8699, allocations: 48.38 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.87, allocations: 62.69 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.8701, allocations: 58.12 kB / 0.9592 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8702, allocations: 3.938 kB / 0.9592 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003355/0.8705, allocations: 158.3 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8705, allocations: 10.31 kB / 0.9593 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8705, allocations: 0 / 0.9593 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8706, allocations: 1.5 kB / 0.9593 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.8707, allocations: 27.95 kB / 0.9594 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8707, allocations: 1.562 kB / 0.9594 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.8708, allocations: 21.45 kB / 0.9594 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.8709, allocations: 14.69 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.8709, allocations: 117.8 kB / 0.9595 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.871, allocations: 14.73 kB / 0.9595 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.8714, allocations: 178.4 kB / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8714, allocations: 6.984 kB / 0.9597 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8714, allocations: 0 / 0.9597 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.8714, allocations: 5.359 kB / 0.9597 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.8717, allocations: 219.8 kB / 0.9599 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8717, allocations: 0 / 0.9599 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.8718, allocations: 28.59 kB / 0.9599 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8718, allocations: 4 kB / 0.96 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8719, allocations: 5.328 kB / 0.96 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8719, allocations: 1.375 kB / 0.96 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8719, allocations: 5.312 kB / 0.96 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.8722, allocations: 320.9 kB / 0.9603 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.8723, allocations: 89.05 kB / 0.9604 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.8723, allocations: 13.3 kB / 0.9604 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.8725, allocations: 12.2 kB / 0.9604 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.8725, allocations: 12.11 kB / 0.9604 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.8725, allocations: 6.75 kB / 0.9604 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.8726, allocations: 126 kB / 0.9605 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8726, allocations: 0 / 0.9605 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003199/0.8729, allocations: 32.69 kB / 0.9605 GB, free: 2.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.818e-05/0.873, allocations: 97.12 kB / 0.9606 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.8734, allocations: 118.8 kB / 0.9608 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8734, allocations: 0 / 0.9608 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.8735, allocations: 65.22 kB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.874, allocations: 42.66 kB / 0.9609 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.8744, allocations: 264.1 kB / 0.9611 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.8746, allocations: 0.7066 MB / 0.9618 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.511e-05/0.8747, allocations: 7.781 kB / 0.9618 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.8747, allocations: 12.41 kB / 0.9618 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8748, allocations: 4.969 kB / 0.9618 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.004449/0.8792, allocations: 1.835 MB / 0.9636 GB, free: 0.5781 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches