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.00909/0.00909, allocations: 102 kB / 15.73 MB, free: 6.035 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.002058/0.002058, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.429/2.429, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.72 kB / 0.9508 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.357, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003295/0.3603, allocations: 2.045 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008732/0.3612, allocations: 446.6 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.3614, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3616, allocations: 47.53 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3617, allocations: 35.67 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.362, allocations: 99.86 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.3623, allocations: 296.4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.3626, allocations: 152.5 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3627, allocations: 99.58 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3628, allocations: 107.5 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.3629, allocations: 32 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.3629, allocations: 32 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.363, allocations: 67.72 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3631, allocations: 123.4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.3635, allocations: 382.7 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3635, allocations: 3.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3635, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3635, allocations: 0 / 1.092 GB, free: 13.55 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.0008909/0.3644, allocations: 0.5341 MB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3645, allocations: 16.03 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.3645, allocations: 28.56 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.365, allocations: 276.1 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.365, allocations: 16.81 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.365, allocations: 20.38 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.3655, allocations: 234.2 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3655, allocations: 7.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.3655, allocations: 11.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3656, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.366, allocations: 172.7 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.3671, allocations: 0.8392 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.3676, allocations: 182.7 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.3678, allocations: 92.81 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3678, allocations: 3.984 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3679, allocations: 34.56 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3679, allocations: 0 / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006048/0.3685, allocations: 225.8 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.3685, allocations: 89.03 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.3688, allocations: 228.4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3688, allocations: 33.7 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.3689, allocations: 152.1 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.369, allocations: 35.45 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.369, allocations: 41.61 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3691, allocations: 334.8 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3693, allocations: 64.83 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3695, allocations: 110.7 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.3699, allocations: 160.6 kB / 1.096 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3699, allocations: 4 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000416/0.3703, allocations: 211.6 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3703, allocations: 4 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3703, allocations: 4 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3704, allocations: 3.938 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3705, allocations: 39.91 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3706, allocations: 0 / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3707, allocations: 31.92 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3707, allocations: 4 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001995/0.3709, allocations: 156.1 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001472/0.3711, allocations: 98.42 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002438/0.3713, allocations: 147.2 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.3713, allocations: 0 / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003195/0.3717, allocations: 188.5 kB / 1.096 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.3717, allocations: 8.094 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.3717, allocations: 0 / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-06/0.3717, allocations: 4 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3718, allocations: 35.92 kB / 1.096 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-06/0.3718, allocations: 0 / 1.096 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3719, allocations: 23.83 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.372, allocations: 8 kB / 1.096 GB, free: 8.395 MB / 0.8575 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.0001141/0.3721, allocations: 188.2 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.3721, allocations: 23.8 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.3722, allocations: 21.34 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3722, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.3722, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3722, allocations: 4 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.3725, allocations: 297.5 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3725, allocations: 0 / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3727, allocations: 31.97 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3727, allocations: 0 / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3727, allocations: 7.938 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3727, allocations: 7.938 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3727, allocations: 0 / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.3733, allocations: 347.1 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.3734, allocations: 100.9 kB / 1.097 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.3735, allocations: 11.94 kB / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3736, allocations: 19.98 kB / 1.097 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.3737, allocations: 7.984 kB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3737, allocations: 0 / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001616/0.3738, allocations: 171.4 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3738, allocations: 0 / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003471/0.3742, allocations: 59.75 kB / 1.098 GB, free: 7.035 MB / 0.8575 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.0001347/0.3743, allocations: 115.2 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005418/0.3749, allocations: 223.7 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3749, allocations: 0 / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3751, allocations: 68.34 kB / 1.098 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3755, allocations: 43.3 kB / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.3763, allocations: 393.3 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3766, allocations: 0.7363 MB / 1.099 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.681e-05/0.3767, allocations: 25.53 kB / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.3768, allocations: 15.44 kB / 1.099 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3768, allocations: 0 / 1.099 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of Templates: time 0.005241/0.382, allocations: 2.024 MB / 1.101 GB, free: 3.367 MB / 0.8575 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/jenkins/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