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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 109.8 kB / 16.41 MB, free: 6.449 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.002037/0.002038, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 64.05 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9662/0.9677, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003351/0.9711, allocations: 2.057 MB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.9719, allocations: 441.2 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.9721, allocations: 4.469 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.9723, allocations: 41.67 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.9724, allocations: 42.72 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.9727, allocations: 94.53 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.973, allocations: 290.7 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.9733, allocations: 150.9 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.9735, allocations: 100.3 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.9736, allocations: 109.8 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.339e-05/0.9737, allocations: 33.94 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.9738, allocations: 36.59 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.9738, allocations: 59.11 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.974, allocations: 119.2 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.9745, allocations: 392.4 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9745, allocations: 0.75 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9745, allocations: 0 / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.9745, allocations: 1.062 kB / 1.092 GB, free: 2.93 MB / 0.8575 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.0008444/0.9754, allocations: 0.5345 MB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.9754, allocations: 8.094 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.9755, allocations: 30.53 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.9759, allocations: 271.7 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.9759, allocations: 17.19 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.9759, allocations: 17.53 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.9764, allocations: 243.2 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.9765, allocations: 3.938 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.9765, allocations: 5.969 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.9765, allocations: 5.859 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.977, allocations: 168.8 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.9782, allocations: 0.8506 MB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.9788, allocations: 187.5 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.979, allocations: 95.66 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.9791, allocations: 2.594 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.9791, allocations: 36.16 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.9791, allocations: 0 / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006834/0.9798, allocations: 233 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.9798, allocations: 80.19 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.9801, allocations: 231.1 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.9801, allocations: 27.14 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.9802, allocations: 158.2 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.9803, allocations: 36.02 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.9803, allocations: 43.89 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.9804, allocations: 329 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.9806, allocations: 68.8 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.9808, allocations: 113.3 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.9812, allocations: 161.7 kB / 1.096 GB, free: 120 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9812, allocations: 7.969 kB / 1.096 GB, free: 112 kB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005029/0.9817, allocations: 202.9 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.9818, allocations: 6.047 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9818, allocations: 1.25 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9818, allocations: 5.25 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.982, allocations: 34.52 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.982, allocations: 5.375 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.9822, allocations: 30.81 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.9822, allocations: 4 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002392/0.9825, allocations: 159.8 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001903/0.9827, allocations: 98.12 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000299/0.983, allocations: 131 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.983, allocations: 1.734 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003959/0.9834, allocations: 182.1 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.9834, allocations: 4.812 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.9834, allocations: 1.219 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.9834, allocations: 1.969 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.9836, allocations: 37.48 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9836, allocations: 5.844 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.9837, allocations: 22.64 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.9837, allocations: 8.625 kB / 1.097 GB, free: 15.62 MB / 0.8731 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.0001327/0.9839, allocations: 190.8 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.9839, allocations: 16.89 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.984, allocations: 20.58 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.984, allocations: 4.594 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.984, allocations: 0.9688 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.9841, allocations: 99.25 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.9841, allocations: 2.141 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.9843, allocations: 17.08 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.9843, allocations: 18.95 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005719/0.9849, allocations: 256.8 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008362/0.9858, allocations: 432.6 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002179/0.986, allocations: 75.56 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002047/0.9862, allocations: 170 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of Backend: time 6.31e-07/0.9862, allocations: 0 / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007964/0.987, allocations: 245 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00115/0.9882, allocations: 0.819 MB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.007476/0.9957, allocations: 2.689 MB / 1.102 GB, free: 13.66 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches