Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.529/2.529, 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.001285/0.001285, allocations: 179.6 kB / 498.1 MB, free: 5.734 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.928/1.928, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001279/0.00128, allocations: 98.14 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004482, allocations: 7 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4093, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.6416, allocations: 151.1 MB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/0.642, allocations: 83.94 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.6521, allocations: 3.554 MB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.781e-06/0.6522, allocations: 0 / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.6522, allocations: 8 kB / 1.374 GB, free: 7.254 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009707/0.6532, allocations: 0.5105 MB / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.6533, allocations: 12.03 kB / 1.374 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.6534, allocations: 31.61 kB / 1.375 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.6538, allocations: 258.7 kB / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.6539, allocations: 12.44 kB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.6539, allocations: 20 kB / 1.375 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.6545, allocations: 245.7 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6545, allocations: 0 / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.6546, allocations: 8 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.6546, allocations: 12 kB / 1.375 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.6551, allocations: 189 kB / 1.375 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.6565, allocations: 0.8217 MB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.6571, allocations: 218.8 kB / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.6572, allocations: 7.891 kB / 1.376 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.6576, allocations: 127.3 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.6576, allocations: 4 kB / 1.376 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0007563/0.6583, allocations: 269.1 kB / 1.377 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.6584, allocations: 77.11 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.6587, allocations: 224.2 kB / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.6588, allocations: 29.7 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.6589, allocations: 152.1 kB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.659, allocations: 47.36 kB / 1.377 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.659, allocations: 4 kB / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6592, allocations: 326.8 kB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.6594, allocations: 67.95 kB / 1.378 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.6596, allocations: 107.4 kB / 1.378 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.6598, allocations: 83.94 kB / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6598, allocations: 0 / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004702/0.6603, allocations: 221.3 kB / 1.378 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.6604, allocations: 184.5 kB / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6604, allocations: 0 / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.6605, allocations: 4 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.6607, allocations: 39.97 kB / 1.378 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6607, allocations: 0 / 1.378 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.6608, allocations: 35.83 kB / 1.378 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.6609, allocations: 4 kB / 1.378 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6609, allocations: 4 kB / 1.378 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003158/0.6612, allocations: 147.8 kB / 1.378 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-06/0.6612, allocations: 0 / 1.378 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.6612, allocations: 3.953 kB / 1.378 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.6614, allocations: 31.92 kB / 1.378 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6614, allocations: 8.031 kB / 1.378 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.6615, allocations: 23.83 kB / 1.378 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.6615, allocations: 8 kB / 1.378 GB, free: 2.484 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0002065/0.6617, allocations: 213.1 kB / 1.379 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.6617, allocations: 15.81 kB / 1.379 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.6618, allocations: 25.8 kB / 1.379 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6618, allocations: 11.92 kB / 1.379 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6619, allocations: 4 kB / 1.379 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.6619, allocations: 0 / 1.379 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.6627, allocations: 0.5725 MB / 1.379 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6627, allocations: 0 / 1.379 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.6628, allocations: 35.97 kB / 1.379 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6629, allocations: 7.891 kB / 1.379 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.6629, allocations: 8 kB / 1.379 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6629, allocations: 0 / 1.379 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.6629, allocations: 4 kB / 1.379 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007069/0.6636, allocations: 391.2 kB / 1.38 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.6637, allocations: 108.8 kB / 1.38 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.6638, allocations: 3.953 kB / 1.38 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.6639, allocations: 24.05 kB / 1.38 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.664, allocations: 7.984 kB / 1.38 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.664, allocations: 4 kB / 1.38 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000183/0.6642, allocations: 184.5 kB / 1.38 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6642, allocations: 0 / 1.38 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003512/0.6645, allocations: 59.75 kB / 1.38 GB, free: 0.7227 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 0.0002114/0.6648, allocations: 126.9 kB / 1.38 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.6654, allocations: 243.9 kB / 1.38 GB, free: 360 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6654, allocations: 0 / 1.38 GB, free: 360 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.6656, allocations: 83.91 kB / 1.38 GB, free: 276 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.6659, allocations: 36.47 kB / 1.38 GB, free: 240 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.6669, allocations: 476.7 kB / 1.381 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.6673, allocations: 0.7404 MB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.6675, allocations: 25.53 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.6675, allocations: 15.44 kB / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.6675, allocations: 0 / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of Templates: time 0.005388/0.6729, allocations: 1.882 MB / 1.384 GB, free: 13.07 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches