Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008999/0.008999, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001078/0.001077, allocations: 179.3 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.834/1.834, allocations: 194.5 MB / 211.2 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.223/2.223, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004738, allocations: 15.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5411, allocations: 98.69 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.7334, allocations: 132.3 MB / 0.8125 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.7337, allocations: 75.97 kB / 0.8126 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.7628, allocations: 7.604 MB / 0.82 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.813e-06/0.7629, allocations: 0 / 0.82 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.323e-05/0.7629, allocations: 12.19 kB / 0.8201 GB, free: 2.25 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001335/0.7643, allocations: 0.7071 MB / 0.8207 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.7643, allocations: 8.031 kB / 0.8207 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.7645, allocations: 59.3 kB / 0.8208 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/0.7652, allocations: 399.5 kB / 0.8212 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.7653, allocations: 29 kB / 0.8212 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.7654, allocations: 40 kB / 0.8213 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.7664, allocations: 422.4 kB / 0.8217 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.7664, allocations: 0 / 0.8217 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.7665, allocations: 16 kB / 0.8217 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.7665, allocations: 12 kB / 0.8217 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008512/0.7674, allocations: 304 kB / 0.822 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.77, allocations: 1.375 MB / 0.8233 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.7711, allocations: 364.6 kB / 0.8237 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.7711, allocations: 4.5 kB / 0.8237 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/0.7717, allocations: 197.5 kB / 0.8239 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 4.2e-06/0.7717, allocations: 0 / 0.8239 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.00125/0.7729, allocations: 434.6 kB / 0.8243 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7731, allocations: 136.5 kB / 0.8244 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.7736, allocations: 320.8 kB / 0.8247 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.7737, allocations: 33.7 kB / 0.8247 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.7739, allocations: 228.8 kB / 0.825 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.7741, allocations: 102.5 kB / 0.8251 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.7741, allocations: 12 kB / 0.8251 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.7743, allocations: 350.8 kB / 0.8254 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.7747, allocations: 115.9 kB / 0.8255 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.7751, allocations: 191.1 kB / 0.8257 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.7755, allocations: 125.6 kB / 0.8258 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.213e-06/0.7755, allocations: 0 / 0.8258 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009843/0.7765, allocations: 378.2 kB / 0.8262 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.7768, allocations: 449.3 kB / 0.8266 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7768, allocations: 4 kB / 0.8266 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7769, allocations: 0 / 0.8266 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.7772, allocations: 71.84 kB / 0.8267 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.7773, allocations: 7.984 kB / 0.8267 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.7776, allocations: 43.83 kB / 0.8267 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.7777, allocations: 12 kB / 0.8267 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7777, allocations: 4 kB / 0.8267 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006927/0.7784, allocations: 276 kB / 0.827 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-06/0.7784, allocations: 0 / 0.827 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.046e-06/0.7784, allocations: 4 kB / 0.827 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.7788, allocations: 63.97 kB / 0.8271 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.7789, allocations: 7.953 kB / 0.8271 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.7792, allocations: 47.67 kB / 0.8271 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.7793, allocations: 11.94 kB / 0.8271 GB, free: 10.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003685/0.7797, allocations: 249.1 kB / 0.8274 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.7798, allocations: 39.53 kB / 0.8274 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.7799, allocations: 44.23 kB / 0.8274 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.7799, allocations: 4 kB / 0.8275 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-06/0.7799, allocations: 3.953 kB / 0.8275 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7799, allocations: 0 / 0.8275 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.7817, allocations: 0.8701 MB / 0.8283 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.7818, allocations: 0 / 0.8283 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.7821, allocations: 51.91 kB / 0.8284 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.496e-06/0.7822, allocations: 0 / 0.8284 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.7822, allocations: 19.94 kB / 0.8284 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.7822, allocations: 0 / 0.8284 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.029e-06/0.7822, allocations: 7.984 kB / 0.8284 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.7837, allocations: 0.5693 MB / 0.8289 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.784, allocations: 144.6 kB / 0.8291 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.7841, allocations: 8 kB / 0.8291 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.7844, allocations: 31.94 kB / 0.8291 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.7845, allocations: 32.02 kB / 0.8291 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.7846, allocations: 8 kB / 0.8292 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004027/0.785, allocations: 251.2 kB / 0.8294 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.17e-07/0.785, allocations: 0 / 0.8294 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007364/0.7857, allocations: 151.5 kB / 0.8295 GB, free: 8.086 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001961/0.7859, allocations: 121.8 kB / 0.8297 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.7872, allocations: 451.5 kB / 0.8301 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.7872, allocations: 4 kB / 0.8301 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.7876, allocations: 152.4 kB / 0.8302 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.7882, allocations: 66.7 kB / 0.8303 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.7903, allocations: 0.9872 MB / 0.8313 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.7909, allocations: 0.8237 MB / 0.8321 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.7912, allocations: 51.27 kB / 0.8321 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.7913, allocations: 31.42 kB / 0.8321 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of SimCode: time 1.891e-06/0.7913, allocations: 0 / 0.8321 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of Templates: time 0.01226/0.8036, allocations: 3.912 MB / 0.836 GB, free: 1.48 MB / 0.6511 GB