Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001813/0.001813, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002061/0.002061, allocations: 191.2 kB / 16.25 MB, free: 6.641 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 0.8688 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5662, allocations: 151.6 MB / 1.017 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003532/0.5698, allocations: 2.091 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007949/0.5706, allocations: 430.7 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.5707, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.5709, allocations: 31.72 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.571, allocations: 27.78 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.5712, allocations: 83.97 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.5716, allocations: 284.5 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.5719, allocations: 160.4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.572, allocations: 99.58 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.5721, allocations: 111.4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.5722, allocations: 32 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.685e-05/0.5722, allocations: 32 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.5723, allocations: 63.78 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.5724, allocations: 115.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.5728, allocations: 373 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5728, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.33e-06/0.5728, allocations: 3.984 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.5728, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 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.0008823/0.5737, allocations: 0.5379 MB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.5738, allocations: 12.03 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.5738, allocations: 28.66 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.5742, allocations: 273.4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.5742, allocations: 16.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.5743, allocations: 24.38 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.5748, allocations: 226.3 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5748, allocations: 3.938 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.5748, allocations: 12 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.5748, allocations: 8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.5753, allocations: 173 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.5765, allocations: 0.8482 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.577, allocations: 186.7 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.5772, allocations: 92.97 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.5773, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.5773, allocations: 42.55 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.5773, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006489/0.578, allocations: 225.3 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.578, allocations: 81.11 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.5783, allocations: 239.1 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.5783, allocations: 29.7 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.5785, allocations: 152.1 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.5785, allocations: 47.39 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.5786, allocations: 33.7 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5788, allocations: 326.8 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.579, allocations: 72.72 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.5792, allocations: 119.1 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.5796, allocations: 158.3 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5796, allocations: 0 / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004647/0.5801, allocations: 205.3 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5801, allocations: 4 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5801, allocations: 4 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5801, allocations: 3.938 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.5803, allocations: 44.06 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5803, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5804, allocations: 23.83 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.5805, allocations: 8 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002169/0.5807, allocations: 152.1 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001715/0.5809, allocations: 105 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002745/0.5812, allocations: 123.4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.5812, allocations: 3.984 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003762/0.5816, allocations: 196 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.5816, allocations: 7.984 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.5816, allocations: 0 / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.5816, allocations: 4 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.5817, allocations: 31.92 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5817, allocations: 3.938 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.5819, allocations: 27.83 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.5819, allocations: 8.094 kB / 1.025 GB, free: 9.785 MB / 0.7794 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.0001346/0.582, allocations: 184.3 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.5821, allocations: 19.75 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.5821, allocations: 29.33 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5821, allocations: 4 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5821, allocations: 0 / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5822, allocations: 4 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.5825, allocations: 301.4 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5825, allocations: 0 / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.5827, allocations: 39.91 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5827, allocations: 3.984 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5828, allocations: 3.938 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5828, allocations: 0 / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5828, allocations: 3.938 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.5835, allocations: 351.1 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.5836, allocations: 88.95 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.5836, allocations: 15.92 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.5837, allocations: 11.98 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5838, allocations: 11.98 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.5838, allocations: 0 / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001797/0.584, allocations: 168.5 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.584, allocations: 4.062 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003586/0.5844, allocations: 67.69 kB / 1.027 GB, free: 8.414 MB / 0.7794 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.0001261/0.5845, allocations: 111.7 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006112/0.5851, allocations: 227.9 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5851, allocations: 0 / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.5853, allocations: 68.45 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.5858, allocations: 36.81 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.5866, allocations: 465.6 kB / 1.027 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.587, allocations: 0.744 MB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.105e-05/0.5871, allocations: 17.53 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.5871, allocations: 19.44 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5871, allocations: 0 / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of Templates: time 0.005348/0.5925, allocations: 1.943 MB / 1.03 GB, free: 4.766 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches