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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009444/0.009444, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001905/0.001905, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.587/2.587, allocations: 472.6 MB / 0.7453 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.84 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7385, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002889/0.7414, allocations: 2.03 MB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.7422, allocations: 454.7 kB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.7424, allocations: 7.938 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.7425, allocations: 39.59 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.7426, allocations: 35.66 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.7429, allocations: 103.8 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.7431, allocations: 288.5 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.7434, allocations: 148.5 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.7435, allocations: 107.5 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.7436, allocations: 99.48 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.7437, allocations: 32 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.7437, allocations: 36 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.7438, allocations: 71.69 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.7439, allocations: 119.4 kB / 1.229 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.7443, allocations: 383.1 kB / 1.229 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7443, allocations: 4 kB / 1.229 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7443, allocations: 4 kB / 1.229 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7443, allocations: 0 / 1.229 GB, free: 9.613 MB / 0.9512 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.000794/0.7451, allocations: 0.5481 MB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.7451, allocations: 8.031 kB / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.7452, allocations: 24.8 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.7456, allocations: 288.2 kB / 1.23 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.7456, allocations: 12.81 kB / 1.23 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.7456, allocations: 20.38 kB / 1.23 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.7461, allocations: 230.3 kB / 1.231 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7461, allocations: 7.938 kB / 1.231 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.7461, allocations: 12 kB / 1.231 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.7462, allocations: 8 kB / 1.231 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.7466, allocations: 172.9 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.7477, allocations: 0.8407 MB / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.7482, allocations: 186.7 kB / 1.232 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.7484, allocations: 88.81 kB / 1.232 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.7485, allocations: 11.98 kB / 1.232 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.7485, allocations: 30.56 kB / 1.232 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.7485, allocations: 0 / 1.232 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0006296/0.7492, allocations: 233.8 kB / 1.232 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.7492, allocations: 85.11 kB / 1.232 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.7495, allocations: 235.2 kB / 1.232 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.7495, allocations: 33.7 kB / 1.232 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.7496, allocations: 152.3 kB / 1.233 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.7496, allocations: 43.64 kB / 1.233 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.7497, allocations: 33.7 kB / 1.233 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7498, allocations: 326.8 kB / 1.233 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.75, allocations: 72.81 kB / 1.233 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.7502, allocations: 111 kB / 1.233 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.7506, allocations: 159.3 kB / 1.233 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7506, allocations: 4 kB / 1.233 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004522/0.7511, allocations: 208.6 kB / 1.233 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7511, allocations: 8 kB / 1.233 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7511, allocations: 3.938 kB / 1.233 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7511, allocations: 3.938 kB / 1.234 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.7513, allocations: 43.91 kB / 1.234 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7513, allocations: 0 / 1.234 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.7515, allocations: 31.86 kB / 1.234 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.7515, allocations: 4 kB / 1.234 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002048/0.7517, allocations: 156.1 kB / 1.234 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001523/0.7519, allocations: 89.12 kB / 1.234 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002757/0.7521, allocations: 143.3 kB / 1.234 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.7522, allocations: 4 kB / 1.234 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003504/0.7525, allocations: 185.4 kB / 1.234 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.7525, allocations: 5.719 kB / 1.234 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.7525, allocations: 0 / 1.234 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.7525, allocations: 4.094 kB / 1.234 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.7527, allocations: 35.92 kB / 1.234 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.7527, allocations: 3.984 kB / 1.234 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.7528, allocations: 23.92 kB / 1.234 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.7528, allocations: 4 kB / 1.234 GB, free: 4.434 MB / 0.9512 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.0001057/0.7529, allocations: 190.3 kB / 1.234 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.753, allocations: 19.86 kB / 1.234 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.753, allocations: 25.33 kB / 1.234 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7531, allocations: 8 kB / 1.234 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7531, allocations: 0 / 1.234 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7531, allocations: 0 / 1.234 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.7534, allocations: 309.4 kB / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7534, allocations: 4 kB / 1.235 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.7536, allocations: 23.98 kB / 1.235 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7536, allocations: 0 / 1.235 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.7536, allocations: 7.875 kB / 1.235 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7536, allocations: 4 kB / 1.235 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7536, allocations: 0 / 1.235 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.7543, allocations: 351.3 kB / 1.235 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.7543, allocations: 97.05 kB / 1.235 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.7544, allocations: 7.938 kB / 1.235 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7545, allocations: 16.05 kB / 1.235 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.7546, allocations: 7.984 kB / 1.235 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.7546, allocations: 8 kB / 1.235 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001577/0.7547, allocations: 164.7 kB / 1.235 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7548, allocations: 0 / 1.235 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003558/0.7551, allocations: 75.73 kB / 1.235 GB, free: 3.051 MB / 0.9512 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.0001/0.7552, allocations: 103.1 kB / 1.236 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005771/0.7558, allocations: 226.2 kB / 1.236 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7558, allocations: 3.938 kB / 1.236 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.756, allocations: 71.89 kB / 1.236 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.7564, allocations: 45 kB / 1.236 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.7571, allocations: 391.5 kB / 1.236 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.7575, allocations: 0.7402 MB / 1.237 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.307e-05/0.7575, allocations: 13.55 kB / 1.237 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.7576, allocations: 19.44 kB / 1.237 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.7576, allocations: 4 kB / 1.237 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of Templates: time 0.004797/0.7624, allocations: 2.038 MB / 1.239 GB, free: 15.37 MB / 0.9669 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