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.01106/0.01106, allocations: 220.6 kB / 15.17 MB, free: 6 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.001145/0.001145, allocations: 180.9 kB / 16.06 MB, free: 5.871 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 3.728/3.728, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.754/4.754, allocations: 472.3 MB / 0.9018 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008478/0.0008476, allocations: 12 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7386, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003346/0.742, allocations: 2.661 MB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.7439, allocations: 0.938 MB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.7443, allocations: 11.72 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.646e-05/0.7444, allocations: 32.7 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.7449, allocations: 101.2 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.7454, allocations: 181.1 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.746, allocations: 499.3 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.7464, allocations: 176.7 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.7466, allocations: 138.6 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.7468, allocations: 152.2 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.7469, allocations: 12.12 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.214e-05/0.747, allocations: 13.56 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.747, allocations: 66.14 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.7471, allocations: 100.5 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.7476, allocations: 411.7 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.7476, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.231e-06/0.7476, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.7476, allocations: 1.438 kB / 1.109 GB, free: 209.5 MB / 0.7292 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.001153/0.7488, allocations: 0.698 MB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7489, allocations: 12.22 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.749, allocations: 58.55 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.7496, allocations: 395.9 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.7497, allocations: 28.47 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.7498, allocations: 40.72 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.7506, allocations: 391.5 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.7506, allocations: 1.094 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.7507, allocations: 17.89 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.7507, allocations: 8.938 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.7515, allocations: 266.8 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.7536, allocations: 1.339 MB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.7545, allocations: 322.2 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.7549, allocations: 139.8 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.7549, allocations: 5.734 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/0.7554, allocations: 171.3 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 4.17e-06/0.7554, allocations: 0 / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001104/0.7565, allocations: 389.5 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.7566, allocations: 86.22 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.7571, allocations: 347.3 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.7571, allocations: 36.52 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.7573, allocations: 239.1 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.7574, allocations: 104.4 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.7574, allocations: 6.906 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.7575, allocations: 356.2 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.7579, allocations: 100.8 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.7582, allocations: 168.3 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.7586, allocations: 118.8 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.84e-06/0.7586, allocations: 1.094 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008581/0.7594, allocations: 351.9 kB / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.7595, allocations: 140.2 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.7595, allocations: 1.562 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7596, allocations: 4.062 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.7599, allocations: 67.97 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.76, allocations: 6.219 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.7603, allocations: 53.12 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.7603, allocations: 16.73 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.799e-06/0.7604, allocations: 4.281 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006429/0.761, allocations: 278.1 kB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.837e-06/0.761, allocations: 2.625 kB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.207e-06/0.761, allocations: 7.438 kB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.7614, allocations: 68.08 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7614, allocations: 3.5 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.7616, allocations: 43.91 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.7617, allocations: 13.62 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.greaterEqualThreshold.y,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 (45): * Single equations (assignments): 45 * 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.0002588/0.762, allocations: 247.3 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.762, allocations: 41.8 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.7622, allocations: 49.3 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.461e-06/0.7622, allocations: 3.812 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.7622, allocations: 0.7031 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.755e-06/0.7622, allocations: 1.453 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.7637, allocations: 0.8099 MB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-06/0.7637, allocations: 1.469 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.7641, allocations: 48.34 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-06/0.7641, allocations: 1 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.7642, allocations: 9.219 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.784e-06/0.7642, allocations: 1.562 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.32e-06/0.7642, allocations: 0 / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.7654, allocations: 0.524 MB / 1.118 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.7656, allocations: 134.8 kB / 1.118 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.7657, allocations: 10.78 kB / 1.118 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.766, allocations: 19.95 kB / 1.118 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/0.7661, allocations: 26.48 kB / 1.118 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.7661, allocations: 10.69 kB / 1.118 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003289/0.7665, allocations: 245.5 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.86e-07/0.7665, allocations: 0 / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007324/0.7672, allocations: 154.5 kB / 1.118 GB, free: 203.9 MB / 0.7292 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.greaterEqualThreshold.y) * 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.0001298/0.7674, allocations: 112.7 kB / 1.118 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.7685, allocations: 429.5 kB / 1.119 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.019e-06/0.7686, allocations: 0 / 1.119 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.7689, allocations: 135.5 kB / 1.119 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.7696, allocations: 86.58 kB / 1.119 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.7715, allocations: 0.9651 MB / 1.12 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.7719, allocations: 0.8205 MB / 1.121 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.7722, allocations: 57.44 kB / 1.121 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.7724, allocations: 32.56 kB / 1.121 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.816e-06/0.7724, allocations: 0 / 1.121 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.01167/0.7841, allocations: 3.428 MB / 1.124 GB, free: 202.3 MB / 0.7292 GB