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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001732/0.001732, allocations: 110.3 kB / 16.42 MB, free: 6.512 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.002014/0.002014, allocations: 187.9 kB / 17.35 MB, free: 5.758 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004131/1.076, allocations: 2.047 MB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001235/1.077, allocations: 446.7 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/1.078, allocations: 7.938 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/1.078, allocations: 35.59 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/1.078, allocations: 43.66 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/1.079, allocations: 103.8 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/1.079, allocations: 284.5 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/1.079, allocations: 160.4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/1.08, allocations: 95.59 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/1.08, allocations: 103.5 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/1.08, allocations: 36 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/1.08, allocations: 39.88 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/1.08, allocations: 59.84 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/1.08, allocations: 123.4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/1.081, allocations: 378.6 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.081, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.725e-06/1.081, allocations: 3.938 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.547e-05/1.081, allocations: 0 / 1.212 GB, free: 9.68 MB / 0.9356 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.001186/1.082, allocations: 0.5437 MB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.082, allocations: 12.03 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/1.082, allocations: 28.56 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/1.083, allocations: 268.2 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/1.083, allocations: 16.81 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/1.083, allocations: 20.38 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/1.083, allocations: 242.3 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.083, allocations: 3.938 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/1.083, allocations: 8 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.083, allocations: 4 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/1.084, allocations: 173 kB / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/1.085, allocations: 0.8366 MB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/1.086, allocations: 182.7 kB / 1.215 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.086, allocations: 92.81 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/1.086, allocations: 0 / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.086, allocations: 38.55 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/1.086, allocations: 0 / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006629/1.087, allocations: 229.4 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.087, allocations: 77.11 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/1.087, allocations: 243.1 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.087, allocations: 29.7 kB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.087, allocations: 148.2 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/1.087, allocations: 51.34 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-05/1.087, allocations: 37.7 kB / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.087, allocations: 326.8 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/1.088, allocations: 68.81 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/1.088, allocations: 111 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/1.088, allocations: 158.5 kB / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.088, allocations: 7.969 kB / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000434/1.089, allocations: 209.3 kB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.089, allocations: 4 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.089, allocations: 7.875 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.089, allocations: 7.938 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/1.089, allocations: 36.08 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.089, allocations: 3.984 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/1.089, allocations: 27.83 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/1.089, allocations: 4 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002024/1.089, allocations: 156.1 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000153/1.089, allocations: 101 kB / 1.217 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002521/1.09, allocations: 127.4 kB / 1.217 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/1.09, allocations: 0 / 1.217 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003666/1.09, allocations: 188.5 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.09, allocations: 9.719 kB / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/1.09, allocations: 0 / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/1.09, allocations: 4 kB / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.09, allocations: 31.97 kB / 1.217 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.09, allocations: 7.938 kB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/1.09, allocations: 27.77 kB / 1.217 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.09, allocations: 8.094 kB / 1.217 GB, free: 4.531 MB / 0.9356 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.0001246/1.091, allocations: 184.3 kB / 1.217 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/1.091, allocations: 19.81 kB / 1.217 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/1.091, allocations: 25.38 kB / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/1.091, allocations: 3.938 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.091, allocations: 0 / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/1.091, allocations: 104.8 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/1.091, allocations: 4 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.091, allocations: 19.98 kB / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/1.091, allocations: 7.984 kB / 1.217 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005123/1.092, allocations: 252.8 kB / 1.218 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006562/1.092, allocations: 430.4 kB / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001917/1.092, allocations: 68.64 kB / 1.218 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001602/1.093, allocations: 168.7 kB / 1.218 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of Backend: time 5.61e-07/1.093, allocations: 0 / 1.218 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007768/1.093, allocations: 246.2 kB / 1.218 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001194/1.095, allocations: 0.8226 MB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of Templates: time 0.006968/1.102, allocations: 2.752 MB / 1.222 GB, free: 15.37 MB / 0.9512 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/jenkins1/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