Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 184.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008572/0.0008573, allocations: 85.41 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.512e-05/1.514e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7174/0.9331, allocations: 134.9 MB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.9335, allocations: 89.06 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01091/0.9444, allocations: 4.628 MB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9444, allocations: 0 / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.9444, allocations: 12 kB / 1.022 GB, free: 15.01 MB / 0.6511 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.000716/0.9452, allocations: 495.4 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.9452, allocations: 16.03 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.9453, allocations: 27.62 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.9457, allocations: 275.3 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.9458, allocations: 8 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.9458, allocations: 12 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002682/0.9461, allocations: 135.3 kB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.9464, allocations: 189.5 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.9465, allocations: 4 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.9465, allocations: 0 / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.9465, allocations: 8 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.9477, allocations: 0.9247 MB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.9481, allocations: 166.6 kB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.9483, allocations: 76.3 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.9483, allocations: 7.969 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.9483, allocations: 34.5 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.9483, allocations: 4 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0003127/0.9487, allocations: 148.7 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.9487, allocations: 77.11 kB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.949, allocations: 192.5 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.949, allocations: 29.7 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.9491, allocations: 151.8 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.9492, allocations: 49.64 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.9492, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.9494, allocations: 336.5 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.9494, allocations: 44.62 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.9495, allocations: 75.11 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.9496, allocations: 47.42 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9496, allocations: 0 / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002373/0.9499, allocations: 152.1 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.95, allocations: 189.1 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.95, allocations: 3.984 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.95, allocations: 4 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.9503, allocations: 31.98 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9503, allocations: 3.938 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.9504, allocations: 35.88 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.9505, allocations: 4 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.9505, allocations: 5.562 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001783/0.9506, allocations: 100.5 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-06/0.9507, allocations: 0 / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.9507, allocations: 4 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.9508, allocations: 39.94 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-06/0.9508, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.9509, allocations: 23.84 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.951, allocations: 4 kB / 1.026 GB, free: 11.35 MB / 0.6511 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 (conBoiRet.conPID.I.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.9511, allocations: 108.5 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.9511, allocations: 15.81 kB / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.9512, allocations: 30.52 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.9512, allocations: 7.938 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9512, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.9512, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.9518, allocations: 0.5008 MB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9518, allocations: 0 / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.952, allocations: 42.97 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.952, allocations: 8.031 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.9521, allocations: 0 / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9521, allocations: 0 / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9521, allocations: 4 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.9525, allocations: 314.3 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.9525, allocations: 103.4 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.9526, allocations: 8.047 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.9527, allocations: 15.98 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.9528, allocations: 15.31 kB / 1.027 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.9528, allocations: 4 kB / 1.027 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001223/0.9529, allocations: 148.7 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9529, allocations: 0 / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003335/0.9533, allocations: 67.67 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * 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.0001517/0.9534, allocations: 111.2 kB / 1.027 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.9537, allocations: 174.4 kB / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9537, allocations: 0 / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.9538, allocations: 56.19 kB / 1.027 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.9542, allocations: 47.94 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.9548, allocations: 282.4 kB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.9551, allocations: 0.756 MB / 1.028 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.9553, allocations: 29.84 kB / 1.028 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.9553, allocations: 19.42 kB / 1.028 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/0.9553, allocations: 0 / 1.028 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of Templates: time 0.004881/0.9602, allocations: 2.096 MB / 1.03 GB, free: 6.648 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches