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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 172.3 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.3 MB / 0.7872 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 88.2 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.612e-05, allocations: 9.391 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3091, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9845/1.294, allocations: 151 MB / 1.36 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/1.294, allocations: 86.23 kB / 1.36 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008062/1.302, allocations: 3.55 MB / 1.363 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/1.302, allocations: 0 / 1.363 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.302, allocations: 3.75 kB / 1.363 GB, free: 34.5 MB / 0.8386 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.0005464/1.303, allocations: 485.6 kB / 1.364 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.303, allocations: 7.719 kB / 1.364 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/1.303, allocations: 31.09 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/1.303, allocations: 266.8 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/1.303, allocations: 18.97 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/1.303, allocations: 22.78 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/1.303, allocations: 208 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.303, allocations: 4 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/1.303, allocations: 9.875 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/1.303, allocations: 3.844 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/1.304, allocations: 132.6 kB / 1.365 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009354/1.305, allocations: 0.8097 MB / 1.365 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/1.305, allocations: 156.6 kB / 1.365 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.305, allocations: 86.25 kB / 1.366 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/1.305, allocations: 0 / 1.366 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/1.305, allocations: 108.5 kB / 1.366 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/1.305, allocations: 0 / 1.366 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002501/1.306, allocations: 138.2 kB / 1.366 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/1.306, allocations: 83.75 kB / 1.366 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/1.306, allocations: 216.5 kB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.306, allocations: 27.95 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/1.306, allocations: 143.9 kB / 1.366 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/1.306, allocations: 55.11 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/1.306, allocations: 3.25 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/1.306, allocations: 327.4 kB / 1.367 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/1.306, allocations: 43.75 kB / 1.367 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/1.306, allocations: 71.23 kB / 1.367 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/1.306, allocations: 51.5 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.306, allocations: 4.031 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001961/1.306, allocations: 161 kB / 1.367 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/1.307, allocations: 185.6 kB / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.307, allocations: 0 / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.307, allocations: 0 / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/1.307, allocations: 47.19 kB / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.307, allocations: 0 / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/1.307, allocations: 32.59 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/1.307, allocations: 7.562 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/1.307, allocations: 3.75 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001457/1.307, allocations: 105.3 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-06/1.307, allocations: 3.938 kB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/1.307, allocations: 7.766 kB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.307, allocations: 28.44 kB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-06/1.307, allocations: 0 / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/1.307, allocations: 28.88 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/1.307, allocations: 3.969 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/1.307, allocations: 118.7 kB / 1.367 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/1.307, allocations: 18.2 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/1.308, allocations: 22.94 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.308, allocations: 7.797 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.308, allocations: 0 / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/1.308, allocations: 0 / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/1.308, allocations: 0.5169 MB / 1.368 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.308, allocations: 0 / 1.368 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/1.308, allocations: 43.75 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.308, allocations: 3.938 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/1.308, allocations: 7.078 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.308, allocations: 7.719 kB / 1.368 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.308, allocations: 0 / 1.368 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/1.308, allocations: 295.1 kB / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/1.309, allocations: 103.1 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/1.309, allocations: 8.031 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.309, allocations: 25.34 kB / 1.369 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/1.309, allocations: 11.03 kB / 1.369 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/1.309, allocations: 3.875 kB / 1.369 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001429/1.309, allocations: 176.2 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.309, allocations: 3.844 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003071/1.309, allocations: 68.59 kB / 1.369 GB, free: 31.46 MB / 0.8386 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/1.309, allocations: 111.2 kB / 1.369 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002557/1.31, allocations: 171.6 kB / 1.369 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.31, allocations: 7.688 kB / 1.369 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/1.31, allocations: 51.88 kB / 1.369 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/1.31, allocations: 34.45 kB / 1.369 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/1.311, allocations: 288.9 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.311, allocations: 0.7466 MB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001277/1.311, allocations: 26.77 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/1.311, allocations: 21.88 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.311, allocations: 4 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.004486/1.316, allocations: 2.134 MB / 1.372 GB, free: 30.35 MB / 0.8386 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","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches