Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 176.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008626/0.0008626, allocations: 86.42 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.027e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2055, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7505/0.956, allocations: 134.6 MB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.9563, allocations: 87.62 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.9668, allocations: 4.665 MB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9668, allocations: 0 / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.9668, allocations: 4 kB / 1.028 GB, free: 12.16 MB / 0.6511 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.0006149/0.9675, allocations: 0.492 MB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9675, allocations: 8.031 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.9676, allocations: 35.62 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.9679, allocations: 271.9 kB / 1.029 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.9679, allocations: 15.62 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.968, allocations: 18.94 kB / 1.029 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.9684, allocations: 224.5 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9684, allocations: 0 / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.9684, allocations: 11.75 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.9684, allocations: 8 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.9687, allocations: 138.4 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.9698, allocations: 0.9897 MB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.9702, allocations: 173 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.9703, allocations: 76.36 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.9704, allocations: 0 / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.9704, allocations: 38.45 kB / 1.03 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.9704, allocations: 8 kB / 1.03 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0003032/0.9707, allocations: 153.8 kB / 1.03 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.9708, allocations: 81.11 kB / 1.031 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.971, allocations: 231.8 kB / 1.031 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.9711, allocations: 25.7 kB / 1.031 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.9712, allocations: 151.4 kB / 1.031 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.9712, allocations: 46.2 kB / 1.031 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-06/0.9712, allocations: 6.812 kB / 1.031 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9713, allocations: 337.5 kB / 1.031 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.9714, allocations: 42.56 kB / 1.031 GB, free: 9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.9715, allocations: 80.92 kB / 1.031 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.9716, allocations: 55.84 kB / 1.032 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9716, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002394/0.9719, allocations: 163.9 kB / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.961e-05/0.972, allocations: 189.1 kB / 1.032 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.972, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.972, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.9722, allocations: 39.61 kB / 1.032 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.9722, allocations: 0 / 1.032 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.9724, allocations: 39.81 kB / 1.032 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.9724, allocations: 7.062 kB / 1.032 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.812e-06/0.9724, allocations: 4 kB / 1.032 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000177/0.9726, allocations: 117.5 kB / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/0.9726, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.9726, allocations: 7.984 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.9728, allocations: 34.89 kB / 1.032 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.9728, allocations: 3.953 kB / 1.032 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.9729, allocations: 27.83 kB / 1.032 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.9729, allocations: 7.375 kB / 1.032 GB, free: 8.348 MB / 0.6511 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 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.503e-05/0.973, allocations: 107.8 kB / 1.032 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.973, allocations: 19.81 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.489e-05/0.9731, allocations: 35.56 kB / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9731, allocations: 4 kB / 1.032 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9731, allocations: 3.953 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9731, allocations: 0 / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.9737, allocations: 0.542 MB / 1.033 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9737, allocations: 0 / 1.033 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.9739, allocations: 39.59 kB / 1.033 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9739, allocations: 4.031 kB / 1.033 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.9739, allocations: 7.953 kB / 1.033 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.974, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.974, allocations: 3.984 kB / 1.033 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.9744, allocations: 336.7 kB / 1.033 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.9744, allocations: 108.3 kB / 1.033 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.9745, allocations: 12.02 kB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.9746, allocations: 19.48 kB / 1.033 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.9747, allocations: 7.984 kB / 1.033 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.9747, allocations: 7.562 kB / 1.033 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001563/0.9749, allocations: 183.5 kB / 1.034 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9749, allocations: 0 / 1.034 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000316/0.9752, allocations: 70.22 kB / 1.034 GB, free: 6.996 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete 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.0001416/0.9753, allocations: 116.2 kB / 1.034 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.9757, allocations: 183.4 kB / 1.034 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9757, allocations: 0 / 1.034 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.9758, allocations: 69.3 kB / 1.034 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.9761, allocations: 46.16 kB / 1.034 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.9767, allocations: 294.2 kB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.977, allocations: 0.7524 MB / 1.035 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.9771, allocations: 30.06 kB / 1.035 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.9772, allocations: 19.38 kB / 1.035 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9772, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of Templates: time 0.005201/0.9824, allocations: 2.434 MB / 1.037 GB, free: 3.199 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches