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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008766/0.008766, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001882/0.001882, allocations: 189.7 kB / 16.67 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 68.05 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8171, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00329/0.8204, allocations: 2.039 MB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000919/0.8214, allocations: 450.7 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.8216, allocations: 4 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.8219, allocations: 43.53 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.8221, allocations: 35.67 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.8225, allocations: 103.8 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.823, allocations: 284.5 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.8234, allocations: 164.5 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.8236, allocations: 99.59 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.8238, allocations: 103.5 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.8238, allocations: 32 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.8239, allocations: 36 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.824, allocations: 63.72 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.8241, allocations: 119.4 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.8246, allocations: 378.6 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8246, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8247, allocations: 4 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.8247, allocations: 4 kB / 1.212 GB, free: 9.668 MB / 0.9356 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.001137/0.8258, allocations: 0.5398 MB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.8259, allocations: 8.031 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.826, allocations: 28.56 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.8265, allocations: 280.1 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.8265, allocations: 16.81 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.8266, allocations: 20.38 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.8271, allocations: 234.3 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.8272, allocations: 7.938 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.8272, allocations: 4 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.8272, allocations: 8 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.8277, allocations: 173 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.8289, allocations: 0.8366 MB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.8294, allocations: 194.6 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.8296, allocations: 88.81 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.8297, allocations: 8 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.8297, allocations: 34.55 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.8297, allocations: 0 / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.000621/0.8303, allocations: 221.5 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.8304, allocations: 89.05 kB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.8306, allocations: 243.1 kB / 1.214 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.8307, allocations: 29.7 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.8308, allocations: 148.2 kB / 1.215 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.8308, allocations: 43.34 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.8309, allocations: 37.7 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.831, allocations: 326.8 kB / 1.215 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.8312, allocations: 72.81 kB / 1.215 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.8314, allocations: 111.4 kB / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.8318, allocations: 161.8 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8318, allocations: 0 / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004427/0.8322, allocations: 209.4 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8323, allocations: 8 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8323, allocations: 0 / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8323, allocations: 7.922 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.8325, allocations: 39.91 kB / 1.216 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.8325, allocations: 4 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.8326, allocations: 27.83 kB / 1.216 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.8327, allocations: 7.938 kB / 1.216 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002026/0.8329, allocations: 156.1 kB / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001463/0.833, allocations: 93.11 kB / 1.216 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002617/0.8333, allocations: 138.4 kB / 1.216 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.8333, allocations: 0 / 1.216 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003347/0.8336, allocations: 181.3 kB / 1.216 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.814e-06/0.8337, allocations: 4 kB / 1.216 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.8337, allocations: 4 kB / 1.216 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.8337, allocations: 3.984 kB / 1.216 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8338, allocations: 40.02 kB / 1.216 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.8338, allocations: 0 / 1.216 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.8339, allocations: 23.83 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.8339, allocations: 8 kB / 1.216 GB, free: 4.516 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.8341, allocations: 188.2 kB / 1.216 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.8341, allocations: 15.81 kB / 1.216 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.8342, allocations: 25.33 kB / 1.216 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8342, allocations: 8 kB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.8342, allocations: 0 / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.8342, allocations: 3.938 kB / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.8345, allocations: 309.3 kB / 1.217 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8345, allocations: 0 / 1.217 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.8347, allocations: 27.98 kB / 1.217 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8347, allocations: 0 / 1.217 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.8347, allocations: 7.922 kB / 1.217 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8347, allocations: 4 kB / 1.217 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8347, allocations: 3.938 kB / 1.217 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.8353, allocations: 343.2 kB / 1.217 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.8354, allocations: 92.92 kB / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.8354, allocations: 7.922 kB / 1.217 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.8356, allocations: 20.05 kB / 1.217 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.8356, allocations: 4 kB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.8356, allocations: 7.984 kB / 1.217 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001526/0.8358, allocations: 164.7 kB / 1.217 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8358, allocations: 0 / 1.217 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003507/0.8362, allocations: 71.69 kB / 1.218 GB, free: 3.141 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.8363, allocations: 103.2 kB / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005777/0.8369, allocations: 223.7 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8369, allocations: 0 / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.8371, allocations: 67.95 kB / 1.218 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.8374, allocations: 42.41 kB / 1.218 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.8382, allocations: 401.2 kB / 1.218 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.8385, allocations: 0.7363 MB / 1.219 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.407e-05/0.8385, allocations: 17.55 kB / 1.219 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.8386, allocations: 19.42 kB / 1.219 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.8386, allocations: 4 kB / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.004887/0.8435, allocations: 2.025 MB / 1.221 GB, free: 15.48 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches