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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.467/2.467, allocations: 390.5 MB / 398 MB, free: 10.95 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.001043/0.001043, allocations: 176 kB / 491.2 MB, free: 1.602 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.817/1.817, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009787/0.0009787, allocations: 91.75 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.983e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3202, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.451, allocations: 151.1 MB / 1.36 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.451, allocations: 89.19 kB / 1.36 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009506/1.461, allocations: 3.539 MB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.461, allocations: 0 / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.326e-05/1.461, allocations: 3.844 kB / 1.363 GB, free: 33.08 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.0007178/1.462, allocations: 489.6 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.462, allocations: 7.594 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/1.462, allocations: 25.03 kB / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/1.462, allocations: 261 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/1.462, allocations: 3.344 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/1.462, allocations: 13.62 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002537/1.462, allocations: 120 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/1.463, allocations: 190.9 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.463, allocations: 0 / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.463, allocations: 0 / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.463, allocations: 3.719 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/1.464, allocations: 0.7535 MB / 1.365 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/1.464, allocations: 150 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/1.464, allocations: 75.77 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/1.464, allocations: 256 / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/1.465, allocations: 100.8 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/1.465, allocations: 0 / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002549/1.465, allocations: 130.7 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/1.465, allocations: 81.11 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/1.465, allocations: 179.7 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/1.465, allocations: 25.7 kB / 1.366 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/1.465, allocations: 146.1 kB / 1.366 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/1.465, allocations: 48.3 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/1.465, allocations: 0 / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.465, allocations: 327.1 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/1.465, allocations: 39.59 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/1.465, allocations: 78.3 kB / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/1.466, allocations: 45.89 kB / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.466, allocations: 0 / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002016/1.466, allocations: 144.5 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.466, allocations: 193.3 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.466, allocations: 1.641 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.466, allocations: 0 / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.466, allocations: 41.23 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.466, allocations: 0 / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/1.466, allocations: 35.53 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.466, allocations: 1.453 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/1.466, allocations: 3.875 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000135/1.466, allocations: 92.33 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/1.466, allocations: 1.453 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/1.466, allocations: 0 / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/1.467, allocations: 39.92 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/1.467, allocations: 3.531 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.955e-05/1.467, allocations: 26.53 kB / 1.367 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/1.467, allocations: 7.156 kB / 1.367 GB, free: 30.89 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 8.86e-05/1.467, allocations: 102.9 kB / 1.367 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/1.467, allocations: 15.5 kB / 1.367 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/1.467, allocations: 17.81 kB / 1.367 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.467, allocations: 5.359 kB / 1.367 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.467, allocations: 3.953 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.467, allocations: 4 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/1.467, allocations: 475.1 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.467, allocations: 0 / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/1.468, allocations: 32.81 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.468, allocations: 3.969 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.468, allocations: 2.531 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.468, allocations: 3.953 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.468, allocations: 0 / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/1.468, allocations: 297 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/1.468, allocations: 96.02 kB / 1.368 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/1.468, allocations: 6.156 kB / 1.368 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.468, allocations: 14.34 kB / 1.368 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/1.468, allocations: 16.92 kB / 1.368 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/1.468, allocations: 7.906 kB / 1.368 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001224/1.468, allocations: 148.3 kB / 1.368 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.363e-06/1.468, allocations: 0 / 1.368 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003345/1.469, allocations: 69.34 kB / 1.368 GB, free: 30.12 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.0001684/1.469, allocations: 105.2 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002743/1.469, allocations: 164.3 kB / 1.369 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.469, allocations: 3.844 kB / 1.369 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/1.469, allocations: 57.97 kB / 1.369 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/1.47, allocations: 24.81 kB / 1.369 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/1.47, allocations: 265.8 kB / 1.369 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/1.471, allocations: 0.7455 MB / 1.37 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001279/1.471, allocations: 24.88 kB / 1.37 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/1.471, allocations: 15.25 kB / 1.37 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.471, allocations: 3.812 kB / 1.37 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.004646/1.475, allocations: 1.798 MB / 1.372 GB, free: 29.03 MB / 0.8386 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","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches