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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009355, allocations: 99.78 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.0009303/0.0009303, allocations: 177.3 kB / 15.95 MB, free: 216 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.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8602/0.8606, allocations: 142.3 MB / 0.9535 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002417/0.863, allocations: 1.668 MB / 0.9551 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008737/0.8639, allocations: 414.8 kB / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.8641, allocations: 8.156 kB / 0.9556 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.8642, allocations: 15.8 kB / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.8644, allocations: 44.11 kB / 0.9556 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.8646, allocations: 58.73 kB / 0.9557 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.8649, allocations: 158.1 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.8652, allocations: 100.7 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.8653, allocations: 58.52 kB / 0.956 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.8654, allocations: 72.45 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.8654, allocations: 5.344 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.8655, allocations: 6.312 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.8655, allocations: 26.36 kB / 0.9561 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.8656, allocations: 63.3 kB / 0.9561 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.8658, allocations: 301.4 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.8659, allocations: 0 / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8659, allocations: 1.094 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.8659, allocations: 0 / 0.9564 GB, free: 5.965 MB / 0.7169 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.0008472/0.8667, allocations: 0.5078 MB / 0.9569 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.8668, allocations: 9.188 kB / 0.9569 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.8669, allocations: 32.61 kB / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.8672, allocations: 269.8 kB / 0.9572 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.8673, allocations: 20.62 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.8673, allocations: 20.81 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.8678, allocations: 237.7 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8679, allocations: 0 / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.8679, allocations: 14.48 kB / 0.9575 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.8679, allocations: 4.469 kB / 0.9575 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.8684, allocations: 194.2 kB / 0.9577 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.8695, allocations: 0.868 MB / 0.9585 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.87, allocations: 195 kB / 0.9587 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.87, allocations: 6.688 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.87, allocations: 35.94 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.87, allocations: 224 / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006399/0.8707, allocations: 258.8 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.8707, allocations: 79.86 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.871, allocations: 229.6 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.871, allocations: 27.08 kB / 0.9593 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.8711, allocations: 151.5 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.8711, allocations: 40.73 kB / 0.9595 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.8711, allocations: 1.219 kB / 0.9595 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.8712, allocations: 334.7 kB / 0.9598 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.8714, allocations: 68.25 kB / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.8716, allocations: 124.7 kB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.8718, allocations: 83.72 kB / 0.9601 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8718, allocations: 3.953 kB / 0.9601 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004766/0.8723, allocations: 219.4 kB / 0.9603 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.8724, allocations: 367 kB / 0.9607 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.8724, allocations: 4.969 kB / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.8725, allocations: 2.062 kB / 0.9607 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.8727, allocations: 42.84 kB / 0.9607 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.8727, allocations: 1.688 kB / 0.9607 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.8728, allocations: 34.86 kB / 0.9607 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.8729, allocations: 4.312 kB / 0.9607 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.8729, allocations: 3.25 kB / 0.9607 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003172/0.8732, allocations: 155.7 kB / 0.9609 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.8732, allocations: 1.375 kB / 0.9609 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.8732, allocations: 1.375 kB / 0.9609 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.8733, allocations: 30.11 kB / 0.9609 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.8734, allocations: 6.734 kB / 0.9609 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.8735, allocations: 29.58 kB / 0.961 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.8735, allocations: 8.125 kB / 0.961 GB, free: 2.301 MB / 0.7169 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.0001335/0.8736, allocations: 224.9 kB / 0.9612 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.8737, allocations: 16.72 kB / 0.9612 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.8738, allocations: 18.5 kB / 0.9612 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8738, allocations: 1 kB / 0.9612 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.8738, allocations: 5.016 kB / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8738, allocations: 0 / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.8741, allocations: 308.5 kB / 0.9615 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8741, allocations: 4 kB / 0.9615 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.8743, allocations: 37.62 kB / 0.9616 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8743, allocations: 1.125 kB / 0.9616 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.8743, allocations: 5.156 kB / 0.9616 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8743, allocations: 4 kB / 0.9616 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8743, allocations: 1.094 kB / 0.9616 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.875, allocations: 377.3 kB / 0.9619 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.875, allocations: 98.06 kB / 0.962 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.8751, allocations: 1.625 kB / 0.962 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.8752, allocations: 21.61 kB / 0.962 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.8753, allocations: 7.141 kB / 0.962 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.8753, allocations: 7.531 kB / 0.9621 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001786/0.8755, allocations: 172.4 kB / 0.9622 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8755, allocations: 0 / 0.9622 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003874/0.8759, allocations: 64.62 kB / 0.9623 GB, free: 1.215 MB / 0.7169 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.0001419/0.876, allocations: 104.9 kB / 0.9624 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.8766, allocations: 247.9 kB / 0.9626 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8766, allocations: 8 kB / 0.9626 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.8768, allocations: 76.36 kB / 0.9627 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.8772, allocations: 41.97 kB / 0.9627 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.878, allocations: 454.4 kB / 0.9632 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.8783, allocations: 0.7437 MB / 0.9639 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.692e-05/0.8784, allocations: 24.22 kB / 0.9639 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.8785, allocations: 17.44 kB / 0.9639 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.8785, allocations: 0 / 0.9639 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.005323/0.8838, allocations: 1.767 MB / 0.9657 GB, free: 15.01 MB / 0.7325 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