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.001458/0.001458, allocations: 106.7 kB / 15.98 MB, free: 6.359 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.001617/0.001618, allocations: 194.9 kB / 16.91 MB, free: 6.191 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.276/2.276, allocations: 390.3 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 63.53 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3576, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004238/0.3619, allocations: 2.095 MB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3631, allocations: 418.8 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.3634, allocations: 7.938 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3637, allocations: 23.73 kB / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.364, allocations: 35.78 kB / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.3643, allocations: 87.95 kB / 0.9524 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.3647, allocations: 288.4 kB / 0.9526 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.3651, allocations: 164.5 kB / 0.9528 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3652, allocations: 91.66 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3653, allocations: 111.4 kB / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.3654, allocations: 36 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.076e-05/0.3654, allocations: 32 kB / 0.9531 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.3655, allocations: 67.83 kB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3656, allocations: 123.3 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.366, allocations: 311.6 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.366, allocations: 0 / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/0.366, allocations: 0 / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.366, allocations: 0 / 0.9535 GB, free: 5.363 MB / 0.7325 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.0009352/0.3669, allocations: 0.5418 MB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.367, allocations: 8.031 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.3671, allocations: 28.66 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3674, allocations: 268.3 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3675, allocations: 16.81 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.3675, allocations: 16.38 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.368, allocations: 250.2 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.368, allocations: 3.938 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3681, allocations: 4 kB / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.3681, allocations: 4 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.3685, allocations: 173 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.3697, allocations: 0.8508 MB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.3702, allocations: 178.7 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.3704, allocations: 96.8 kB / 0.9559 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3704, allocations: 4.219 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3705, allocations: 34.5 kB / 0.9559 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 3.907e-06/0.3705, allocations: 0 / 0.9559 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0006361/0.3711, allocations: 229.3 kB / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.3712, allocations: 81.11 kB / 0.9562 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3714, allocations: 231.1 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3715, allocations: 25.7 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3716, allocations: 168 kB / 0.9566 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3716, allocations: 31.47 kB / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.3717, allocations: 37.7 kB / 0.9567 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3718, allocations: 330.8 kB / 0.957 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.372, allocations: 76.73 kB / 0.9571 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.3722, allocations: 105 kB / 0.9572 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.3726, allocations: 162.5 kB / 0.9573 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3726, allocations: 0 / 0.9573 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004322/0.373, allocations: 217.4 kB / 0.9576 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3731, allocations: 4 kB / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3731, allocations: 0 / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3731, allocations: 7.938 kB / 0.9576 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3733, allocations: 31.97 kB / 0.9576 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3733, allocations: 7.938 kB / 0.9576 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3734, allocations: 27.83 kB / 0.9576 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3734, allocations: 4 kB / 0.9576 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002023/0.3736, allocations: 163.6 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001474/0.3738, allocations: 95.92 kB / 0.9579 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002506/0.3741, allocations: 135.4 kB / 0.958 GB, free: 488 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.3741, allocations: 0 / 0.958 GB, free: 488 kB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003268/0.3744, allocations: 181.3 kB / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.3744, allocations: 4 kB / 0.9582 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.3744, allocations: 4 kB / 0.9582 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-06/0.3744, allocations: 0 / 0.9582 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3746, allocations: 39.95 kB / 0.9582 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.3746, allocations: 4 kB / 0.9582 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3747, allocations: 15.98 kB / 0.9582 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3747, allocations: 7.938 kB / 0.9583 GB, free: 224 kB / 0.7325 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.0001215/0.3748, allocations: 196.2 kB / 0.9584 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.3749, allocations: 27.88 kB / 0.9585 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.375, allocations: 21.34 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.375, allocations: 8 kB / 0.9585 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.375, allocations: 0 / 0.9585 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.375, allocations: 7.922 kB / 0.9585 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.3753, allocations: 301.4 kB / 0.9588 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3753, allocations: 0 / 0.9588 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3755, allocations: 27.97 kB / 0.9588 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3755, allocations: 0 / 0.9588 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3755, allocations: 11.94 kB / 0.9588 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3755, allocations: 0 / 0.9588 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3755, allocations: 0 / 0.9588 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.3762, allocations: 351.3 kB / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.3763, allocations: 100.9 kB / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3763, allocations: 3.938 kB / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3764, allocations: 20.05 kB / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3765, allocations: 11.92 kB / 0.9593 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3765, allocations: 4 kB / 0.9593 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001685/0.3767, allocations: 172.7 kB / 0.9595 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3767, allocations: 0 / 0.9595 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003608/0.3771, allocations: 63.69 kB / 0.9595 GB, free: 14.82 MB / 0.7481 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.0001382/0.3772, allocations: 99.25 kB / 0.9596 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.3778, allocations: 223.8 kB / 0.9598 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3778, allocations: 4 kB / 0.9598 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.378, allocations: 67.89 kB / 0.9599 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3785, allocations: 45.02 kB / 0.9599 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/0.3795, allocations: 490.9 kB / 0.9604 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3798, allocations: 0.7402 MB / 0.9611 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.3799, allocations: 19.42 kB / 0.9612 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of SimCode: time 1.843e-06/0.3799, allocations: 0 / 0.9612 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.00545/0.3853, allocations: 2.575 MB / 0.9637 GB, free: 10.52 MB / 0.7481 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