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.006236/0.006241, allocations: 232.6 kB / 15.82 MB, free: 6.293 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.001934/0.001934, allocations: 175.1 kB / 16.7 MB, free: 5.453 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 4.132/4.132, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.061/4.061, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004802, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7796/0.9595, allocations: 127.8 MB / 1.229 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/0.9599, allocations: 94.52 kB / 1.23 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03314/0.9931, allocations: 7.274 MB / 1.237 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9931, allocations: 0 / 1.237 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.375e-05/0.9932, allocations: 8 kB / 1.237 GB, free: 22.01 MB / 0.6198 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.002922/0.9961, allocations: 0.9288 MB / 1.238 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.9962, allocations: 8.031 kB / 1.238 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.9964, allocations: 51 kB / 1.238 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.9971, allocations: 385.2 kB / 1.238 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.9972, allocations: 27.59 kB / 1.238 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.9973, allocations: 40.39 kB / 1.238 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.9991, allocations: 0.6438 MB / 1.239 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.9991, allocations: 7.984 kB / 1.239 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.9992, allocations: 19.45 kB / 1.239 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.9992, allocations: 8 kB / 1.239 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/1.001, allocations: 0.5985 MB / 1.239 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/1.005, allocations: 1.642 MB / 1.241 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/1.008, allocations: 0.9495 MB / 1.242 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.01, allocations: 375.8 kB / 1.242 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.088e-05/1.01, allocations: 11.17 kB / 1.242 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.011, allocations: 0.5403 MB / 1.243 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 4.018e-06/1.011, allocations: 3.938 kB / 1.243 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.003868/1.015, allocations: 1.15 MB / 1.244 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.015, allocations: 278.3 kB / 1.244 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007121/1.016, allocations: 431.5 kB / 1.244 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/1.016, allocations: 45.12 kB / 1.245 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/1.016, allocations: 208.5 kB / 1.245 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/1.017, allocations: 121.3 kB / 1.245 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/1.017, allocations: 12.66 kB / 1.245 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004427/1.017, allocations: 358.2 kB / 1.245 GB, free: 30.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/1.018, allocations: 308.2 kB / 1.245 GB, free: 30.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/1.019, allocations: 499.4 kB / 1.246 GB, free: 29.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.021, allocations: 370 kB / 1.246 GB, free: 29.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/1.021, allocations: 0 / 1.246 GB, free: 29.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002608/1.023, allocations: 0.8431 MB / 1.247 GB, free: 28.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/1.023, allocations: 259.4 kB / 1.247 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.023, allocations: 8 kB / 1.247 GB, free: 28.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.024, allocations: 8 kB / 1.247 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/1.024, allocations: 110.1 kB / 1.248 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.024, allocations: 9.719 kB / 1.248 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/1.025, allocations: 106.2 kB / 1.248 GB, free: 28.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/1.025, allocations: 25.69 kB / 1.248 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.025, allocations: 4 kB / 1.248 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/1.027, allocations: 0.6155 MB / 1.248 GB, free: 27.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.027, allocations: 4 kB / 1.248 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.027, allocations: 11.16 kB / 1.248 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/1.027, allocations: 78.69 kB / 1.248 GB, free: 27.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.028, allocations: 7.938 kB / 1.248 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/1.028, allocations: 81.06 kB / 1.248 GB, free: 27.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/1.028, allocations: 19 kB / 1.248 GB, free: 27.38 MB / 0.6355 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.0007113/1.029, allocations: 369.5 kB / 1.249 GB, free: 27.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.029, allocations: 52.48 kB / 1.249 GB, free: 27.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/1.029, allocations: 55.34 kB / 1.249 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.029, allocations: 10.53 kB / 1.249 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.029, allocations: 0 / 1.249 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.029, allocations: 4 kB / 1.249 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/1.034, allocations: 1.927 MB / 1.251 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.034, allocations: 0 / 1.251 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/1.034, allocations: 93.75 kB / 1.251 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.034, allocations: 3.953 kB / 1.251 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.655e-05/1.034, allocations: 17.39 kB / 1.251 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.034, allocations: 4 kB / 1.251 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.034, allocations: 0 / 1.251 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/1.037, allocations: 1.278 MB / 1.252 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/1.038, allocations: 124 kB / 1.252 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/1.038, allocations: 21.45 kB / 1.252 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.039, allocations: 121.5 kB / 1.252 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.039, allocations: 57.42 kB / 1.252 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/1.039, allocations: 19.11 kB / 1.252 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005104/1.04, allocations: 301 kB / 1.253 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.04, allocations: 0 / 1.253 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001355/1.041, allocations: 177.5 kB / 1.253 GB, free: 23.36 MB / 0.6355 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.0002912/1.042, allocations: 156 kB / 1.253 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003397/1.045, allocations: 1.138 MB / 1.254 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.045, allocations: 6.312 kB / 1.254 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.046, allocations: 399.6 kB / 1.255 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.048, allocations: 88.42 kB / 1.255 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/1.051, allocations: 1.122 MB / 1.256 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/1.051, allocations: 0.9197 MB / 1.257 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008179/1.052, allocations: 192.6 kB / 1.257 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/1.052, allocations: 39.42 kB / 1.257 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/1.052, allocations: 0 / 1.257 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.0166/1.069, allocations: 5.827 MB / 1.263 GB, free: 14.16 MB / 0.6355 GB