Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.943/1.943, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.852e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00311/0.003139, allocations: 1.869 MB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.003551, allocations: 121 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.003651, allocations: 0 / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.003789, allocations: 23.78 kB / 0.8134 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.00387, allocations: 49.06 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.004014, allocations: 37.16 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.004227, allocations: 175.2 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.004348, allocations: 21.75 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.004455, allocations: 75.86 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.004543, allocations: 56.41 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.004572, allocations: 12.5 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.00459, allocations: 9.25 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.004619, allocations: 23.91 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.004669, allocations: 47.86 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004831, allocations: 105.9 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.004835, allocations: 0 / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.004836, allocations: 0 / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.004842, allocations: 0 / 0.814 GB, free: 15.51 MB / 0.7761 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.0005614/0.005403, allocations: 472.6 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.005441, allocations: 12.66 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.0055, allocations: 20.84 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.005704, allocations: 149.7 kB / 0.8147 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.005717, allocations: 12.31 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.005732, allocations: 8.312 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.005928, allocations: 118.5 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005935, allocations: 192 / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005948, allocations: 384 / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.005957, allocations: 5.656 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.00604, allocations: 39.84 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.006632, allocations: 479.8 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.00688, allocations: 102.1 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.006942, allocations: 32.44 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.006968, allocations: 8.078 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.006996, allocations: 46.19 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.006998, allocations: 0 / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002626/0.007261, allocations: 98.39 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.0073, allocations: 85.05 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.007431, allocations: 213 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.007445, allocations: 25.7 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.007517, allocations: 156.1 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.007544, allocations: 39.75 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.007589, allocations: 31.38 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.007715, allocations: 0.4934 MB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.007757, allocations: 11.98 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.007801, allocations: 31.38 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.007888, allocations: 60.23 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00789, allocations: 0 / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001312/0.008022, allocations: 86.27 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.008039, allocations: 8 kB / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008044, allocations: 0.9062 kB / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.008058, allocations: 0 / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.008154, allocations: 24.77 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.00816, allocations: 0 / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.008206, allocations: 9.234 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.008216, allocations: 4 kB / 0.8168 GB, free: 12.43 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.0083, allocations: 164.6 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.008339, allocations: 20.48 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.008533, allocations: 95.56 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.008535, allocations: 4 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.00854, allocations: 5.562 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008544, allocations: 0 / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.008722, allocations: 156.5 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.008724, allocations: 0 / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.008792, allocations: 20.83 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.008795, allocations: 7.938 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.008806, allocations: 7.438 kB / 0.8173 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008808, allocations: 0 / 0.8173 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.00881, allocations: 192 / 0.8173 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.009007, allocations: 355 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.009031, allocations: 23.77 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.00905, allocations: 0 / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.009126, allocations: 4 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.009175, allocations: 11.98 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.009181, allocations: 0 / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.597e-05/0.009257, allocations: 165.3 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009257, allocations: 0 / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002101/0.009467, allocations: 25.94 kB / 0.8178 GB, free: 11.33 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.877e-05/0.009566, allocations: 103.2 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.009718, allocations: 47.61 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009719, allocations: 1.094 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.009766, allocations: 35.61 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.01009, allocations: 47.02 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.0107, allocations: 226 kB / 0.8183 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.01074, allocations: 66.5 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.087e-05/0.0108, allocations: 17.73 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.01084, allocations: 12.5 kB / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/0.01084, allocations: 1.125 kB / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of Templates: time 0.004205/0.01505, allocations: 2.161 MB / 0.8205 GB, free: 8.652 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.290112596005201]