Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008969/0.008969, allocations: 109.6 kB / 15.06 MB, free: 6.031 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: 189.2 kB / 15.95 MB, free: 5.965 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.972/1.972, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.17/2.17, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 12 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.538, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.7256, allocations: 127.7 MB / 0.8081 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.726, allocations: 91.92 kB / 0.8082 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02969/0.7557, allocations: 7.286 MB / 0.8153 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.58e-06/0.7557, allocations: 0 / 0.8153 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.7558, allocations: 8 kB / 0.8153 GB, free: 7.098 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002226/0.758, allocations: 0.9185 MB / 0.8162 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7581, allocations: 12.03 kB / 0.8162 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.7583, allocations: 59.41 kB / 0.8163 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.759, allocations: 382.8 kB / 0.8166 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.759, allocations: 28.64 kB / 0.8167 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.7591, allocations: 36 kB / 0.8167 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.7607, allocations: 0.6505 MB / 0.8173 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.7608, allocations: 7.875 kB / 0.8174 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.7609, allocations: 15.95 kB / 0.8174 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.7609, allocations: 12 kB / 0.8174 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.7626, allocations: 0.6054 MB / 0.818 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.7661, allocations: 1.641 MB / 0.8196 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.7688, allocations: 0.9525 MB / 0.8205 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.7689, allocations: 11.98 kB / 0.8205 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.7702, allocations: 0.5372 MB / 0.821 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 3.753e-06/0.7702, allocations: 0 / 0.821 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.003324/0.7735, allocations: 1.151 MB / 0.8222 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.7738, allocations: 285 kB / 0.8224 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.7745, allocations: 384.7 kB / 0.8228 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.7746, allocations: 49.69 kB / 0.8229 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.7748, allocations: 200.9 kB / 0.823 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.775, allocations: 122.5 kB / 0.8232 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.775, allocations: 12.44 kB / 0.8232 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.7752, allocations: 362.8 kB / 0.8235 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008719/0.7761, allocations: 308.8 kB / 0.8238 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.7772, allocations: 497.8 kB / 0.8243 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000929/0.7781, allocations: 362.1 kB / 0.8246 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.791e-06/0.7782, allocations: 4 kB / 0.8246 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002293/0.7805, allocations: 0.8459 MB / 0.8255 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.7815, allocations: 1.866 MB / 0.8273 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.7815, allocations: 4 kB / 0.8273 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.7816, allocations: 12 kB / 0.8273 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.7822, allocations: 107.8 kB / 0.8274 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.7822, allocations: 8 kB / 0.8274 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.7829, allocations: 111.6 kB / 0.8275 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.783, allocations: 20 kB / 0.8275 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.783, allocations: 4 kB / 0.8275 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001649/0.7847, allocations: 0.6148 MB / 0.8281 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.7847, allocations: 4 kB / 0.8281 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.7847, allocations: 19.94 kB / 0.8282 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.7851, allocations: 71.83 kB / 0.8282 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.7852, allocations: 11.98 kB / 0.8282 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.7857, allocations: 79.69 kB / 0.8283 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.7858, allocations: 20 kB / 0.8283 GB, free: 9.137 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0005968/0.7864, allocations: 369.4 kB / 0.8287 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.7865, allocations: 43.53 kB / 0.8287 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.7867, allocations: 59.31 kB / 0.8288 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.7867, allocations: 8 kB / 0.8288 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.971e-06/0.7867, allocations: 0 / 0.8288 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.7867, allocations: 7.984 kB / 0.8288 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/0.7917, allocations: 1.924 MB / 0.8307 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.7918, allocations: 7.938 kB / 0.8307 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007963/0.7926, allocations: 91.84 kB / 0.8308 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/0.7926, allocations: 4 kB / 0.8308 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.7928, allocations: 11.98 kB / 0.8308 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/0.7928, allocations: 4 kB / 0.8308 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.539e-06/0.7928, allocations: 0 / 0.8308 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.7969, allocations: 1.344 MB / 0.8321 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.7972, allocations: 128.5 kB / 0.8322 GB, free: 5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.7974, allocations: 11.98 kB / 0.8322 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.7992, allocations: 127.9 kB / 0.8324 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.7994, allocations: 47.92 kB / 0.8324 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/0.7996, allocations: 19.98 kB / 0.8324 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007607/0.8003, allocations: 303.1 kB / 0.8327 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.74e-07/0.8004, allocations: 0 / 0.8327 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002327/0.8027, allocations: 179.8 kB / 0.8329 GB, free: 4.328 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0003882/0.8031, allocations: 155 kB / 0.833 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003741/0.8069, allocations: 1.138 MB / 0.8341 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.606e-06/0.8069, allocations: 0 / 0.8341 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.8081, allocations: 404.5 kB / 0.8345 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00086/0.8089, allocations: 73.28 kB / 0.8346 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.8115, allocations: 1.118 MB / 0.8357 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.8123, allocations: 0.9098 MB / 0.8366 GB, free: 448 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000672/0.813, allocations: 199.3 kB / 0.8368 GB, free: 248 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.8131, allocations: 39.42 kB / 0.8368 GB, free: 208 kB / 0.6511 GB Notification: Performance of SimCode: time 1.692e-06/0.8132, allocations: 0 / 0.8368 GB, free: 208 kB / 0.6511 GB Notification: Performance of Templates: time 0.0156/0.8288, allocations: 5.809 MB / 0.8425 GB, free: 10.45 MB / 0.6667 GB