Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001016, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.00648/0.00648, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.954/2.954, allocations: 462.6 MB / 0.7364 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004372, allocations: 8.469 kB / 0.9027 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4536, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003583/0.4573, allocations: 1.723 MB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.4587, allocations: 426.7 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.459, allocations: 8 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.4593, allocations: 31.72 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.4595, allocations: 23.78 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.4599, allocations: 83.95 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.4603, allocations: 260.5 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.4608, allocations: 144.5 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.461, allocations: 59.59 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.4611, allocations: 79.42 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.4612, allocations: 8 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.4612, allocations: 4 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.4612, allocations: 35.78 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.4614, allocations: 113.1 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.4618, allocations: 343 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4618, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4618, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.4618, allocations: 4 kB / 1.062 GB, free: 1.66 MB / 0.8106 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.0009235/0.4628, allocations: 0.5159 MB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4628, allocations: 11.97 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.4629, allocations: 24.66 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.4633, allocations: 272.3 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.4633, allocations: 20.75 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.4633, allocations: 16.38 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.4639, allocations: 250.2 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4639, allocations: 3.938 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.4639, allocations: 4 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.4639, allocations: 4 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.4644, allocations: 193 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.4656, allocations: 0.8522 MB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.4662, allocations: 202.7 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.4664, allocations: 105 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4665, allocations: 4 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4665, allocations: 34.55 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.4665, allocations: 8 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006958/0.4672, allocations: 253.2 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.4674, allocations: 81.11 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.4676, allocations: 234.8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.4677, allocations: 29.7 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4678, allocations: 156.1 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.4678, allocations: 43.36 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.4679, allocations: 21.7 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.468, allocations: 330.8 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.4682, allocations: 75.95 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4685, allocations: 118.8 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.4689, allocations: 181.8 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4689, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005049/0.4694, allocations: 221.4 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.138e-05/0.4695, allocations: 119.5 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4695, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4696, allocations: 4 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.4697, allocations: 39.97 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4698, allocations: 7.938 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.4699, allocations: 35.73 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4699, allocations: 8 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.47, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000332/0.4703, allocations: 159.6 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.4703, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.459e-06/0.4703, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4705, allocations: 40.02 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.4705, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4706, allocations: 31.86 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4706, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.4709, allocations: 217.1 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.4709, allocations: 23.66 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.471, allocations: 21.41 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.471, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.471, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.471, allocations: 3.984 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.4713, allocations: 297.5 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4714, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.4715, allocations: 35.91 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.4715, allocations: 3.984 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4716, allocations: 11.94 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4716, allocations: 4 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4716, allocations: 3.938 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.4723, allocations: 371.5 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.4724, allocations: 100.9 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.4725, allocations: 4 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.4726, allocations: 24.05 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.4727, allocations: 15.86 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4727, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001801/0.4729, allocations: 172.5 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4729, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003679/0.4733, allocations: 63.75 kB / 1.068 GB, free: 11.28 MB / 0.8262 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 0.0001271/0.4734, allocations: 111.1 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006331/0.474, allocations: 239.8 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.474, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.4743, allocations: 92.27 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.4747, allocations: 32.59 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.4756, allocations: 480.7 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.476, allocations: 0.7365 MB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.4761, allocations: 21.53 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.4762, allocations: 15.44 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.4762, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.005586/0.4818, allocations: 1.851 MB / 1.071 GB, free: 7.672 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches