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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0011/0.0011, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.858, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002263/0.8603, allocations: 1.664 MB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.8611, allocations: 418.8 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.8612, allocations: 4 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.8613, allocations: 15.8 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.8615, allocations: 43.81 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.8617, allocations: 67.88 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.862, allocations: 152.7 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.8622, allocations: 98.97 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.8623, allocations: 63.64 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.8624, allocations: 67.56 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.8624, allocations: 8 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.8625, allocations: 8 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.8625, allocations: 23.84 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.8626, allocations: 65.58 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.8628, allocations: 293.2 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8628, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8628, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.8629, allocations: 0 / 1.024 GB, free: 14.11 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.0008112/0.8637, allocations: 0.5106 MB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.8637, allocations: 15.98 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.8638, allocations: 27.62 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.8641, allocations: 271 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.8642, allocations: 16.44 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.8642, allocations: 19.98 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.8647, allocations: 237.7 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8647, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.8648, allocations: 15.98 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.8648, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.8652, allocations: 196.7 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.8664, allocations: 0.856 MB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.8669, allocations: 198.7 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.867, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.867, allocations: 42.56 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.867, allocations: 0 / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006737/0.8677, allocations: 245.4 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.8678, allocations: 81.33 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.868, allocations: 236.5 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.868, allocations: 29.64 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.8682, allocations: 164.1 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.8682, allocations: 39.45 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.8682, allocations: 4 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8684, allocations: 330.8 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.8685, allocations: 67.91 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.8688, allocations: 127.4 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.869, allocations: 80 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.869, allocations: 0 / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004661/0.8695, allocations: 224.3 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.8696, allocations: 372 kB / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8696, allocations: 0 / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8697, allocations: 4 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.8698, allocations: 43.97 kB / 1.028 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8699, allocations: 0 / 1.028 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.87, allocations: 31.83 kB / 1.028 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.87, allocations: 8 kB / 1.028 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.87, allocations: 4 kB / 1.028 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002986/0.8703, allocations: 147.8 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.8704, allocations: 0 / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.8704, allocations: 3.953 kB / 1.028 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.8705, allocations: 35.98 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.8705, allocations: 3.938 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.8706, allocations: 31.92 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.8706, allocations: 4 kB / 1.028 GB, free: 9.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.8708, allocations: 217.1 kB / 1.028 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.8708, allocations: 15.81 kB / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.8709, allocations: 17.41 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.8709, allocations: 7.953 kB / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8709, allocations: 7.984 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8709, allocations: 0 / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.8712, allocations: 305.3 kB / 1.029 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8712, allocations: 0 / 1.029 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.8714, allocations: 43.84 kB / 1.029 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8714, allocations: 0 / 1.029 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.8715, allocations: 7.938 kB / 1.029 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.8715, allocations: 0 / 1.029 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8715, allocations: 3.953 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.8721, allocations: 371.2 kB / 1.029 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.8722, allocations: 96.94 kB / 1.029 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.8722, allocations: 4 kB / 1.029 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.8724, allocations: 24.05 kB / 1.029 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.8724, allocations: 11.94 kB / 1.029 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.8724, allocations: 8 kB / 1.029 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001537/0.8726, allocations: 171.3 kB / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8726, allocations: 0 / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003508/0.873, allocations: 67.69 kB / 1.03 GB, free: 7.715 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 (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.0001106/0.8731, allocations: 103.1 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005705/0.8736, allocations: 247.9 kB / 1.03 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8737, allocations: 0 / 1.03 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.8739, allocations: 76.5 kB / 1.03 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.8742, allocations: 33.62 kB / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.875, allocations: 468.5 kB / 1.03 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.8753, allocations: 0.7365 MB / 1.031 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.022e-05/0.8754, allocations: 33.5 kB / 1.031 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.8754, allocations: 15.44 kB / 1.031 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8754, allocations: 0 / 1.031 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of Templates: time 0.004699/0.8801, allocations: 1.781 MB / 1.033 GB, free: 4.203 MB / 0.7794 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