Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 177.1 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 0.7949 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009137, allocations: 94.86 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 12.58 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.5241, allocations: 150.7 MB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5244, allocations: 71.89 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0203/0.5447, allocations: 7.98 MB / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5448, allocations: 0 / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.5448, allocations: 12 kB / 1.378 GB, free: 3.305 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001085/0.5459, allocations: 0.7364 MB / 1.379 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.546, allocations: 12.03 kB / 1.379 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.5461, allocations: 59.25 kB / 1.379 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.5463, allocations: 257.2 kB / 1.379 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.5464, allocations: 45.31 kB / 1.379 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.5465, allocations: 52 kB / 1.379 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/0.5473, allocations: 0.5104 MB / 1.38 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5473, allocations: 0 / 1.38 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.5474, allocations: 23.94 kB / 1.38 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.5474, allocations: 12 kB / 1.38 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.548, allocations: 380.6 kB / 1.38 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.5501, allocations: 1.508 MB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.5507, allocations: 285.8 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.5507, allocations: 8.281 kB / 1.382 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004031/0.5511, allocations: 210.8 kB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.5511, allocations: 0 / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0008128/0.552, allocations: 412.5 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.552, allocations: 81.11 kB / 1.382 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.5525, allocations: 384.7 kB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.5525, allocations: 33.7 kB / 1.383 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.5527, allocations: 252.2 kB / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.5528, allocations: 122.3 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.5528, allocations: 8 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.553, allocations: 350.8 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.5533, allocations: 132.3 kB / 1.384 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.5536, allocations: 184.2 kB / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.5539, allocations: 181.7 kB / 1.384 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5539, allocations: 0 / 1.384 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007433/0.5547, allocations: 455.5 kB / 1.384 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.5547, allocations: 38.64 kB / 1.384 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5547, allocations: 3.984 kB / 1.384 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5547, allocations: 4 kB / 1.384 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.555, allocations: 75.97 kB / 1.385 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5551, allocations: 0 / 1.385 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.5554, allocations: 87.39 kB / 1.385 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.5554, allocations: 20 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001823/0.5556, allocations: 165.7 kB / 1.385 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.5557, allocations: 47.39 kB / 1.385 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.5563, allocations: 343.2 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5563, allocations: 4 kB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5563, allocations: 8 kB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5563, allocations: 3.984 kB / 1.385 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5575, allocations: 0.9863 MB / 1.386 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5575, allocations: 3.938 kB / 1.386 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5577, allocations: 59.91 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.5577, allocations: 4.188 kB / 1.386 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.5578, allocations: 12 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5578, allocations: 4 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5578, allocations: 3.984 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.5585, allocations: 0.6066 MB / 1.387 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.5586, allocations: 132.5 kB / 1.387 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.5586, allocations: 8 kB / 1.387 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5589, allocations: 15.98 kB / 1.387 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.559, allocations: 35.92 kB / 1.387 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.559, allocations: 12 kB / 1.387 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003128/0.5593, allocations: 295.2 kB / 1.387 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5593, allocations: 0 / 1.387 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004367/0.5597, allocations: 111.7 kB / 1.387 GB, free: 9.156 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.000199/0.56, allocations: 126.9 kB / 1.388 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006737/0.5606, allocations: 386.5 kB / 1.388 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5606, allocations: 0 / 1.388 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.5609, allocations: 151 kB / 1.388 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.5614, allocations: 53.53 kB / 1.388 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.5626, allocations: 0.884 MB / 1.389 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.563, allocations: 0.8391 MB / 1.39 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.5632, allocations: 39.27 kB / 1.39 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.5632, allocations: 35.38 kB / 1.39 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5633, allocations: 0 / 1.39 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of Templates: time 0.008135/0.5714, allocations: 3.621 MB / 1.393 GB, free: 2.984 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches