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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01089/0.01089, allocations: 105.8 kB / 15.05 MB, free: 5.93 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.001166/0.001166, allocations: 187.5 kB / 15.95 MB, free: 5.895 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.993/1.993, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.211/2.211, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004969, allocations: 19.98 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.6752, allocations: 98.72 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.9189, allocations: 127.7 MB / 0.8082 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.9193, allocations: 95.94 kB / 0.8083 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0359/0.9552, allocations: 7.286 MB / 0.8154 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9553, allocations: 0 / 0.8154 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.647e-05/0.9554, allocations: 8 kB / 0.8154 GB, free: 6.953 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.004804/0.9602, allocations: 0.9264 MB / 0.8163 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.9603, allocations: 12.03 kB / 0.8163 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/0.9606, allocations: 70.53 kB / 0.8164 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.9608, allocations: 55.42 kB / 0.8164 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.962, allocations: 382.7 kB / 0.8168 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.9621, allocations: 28.64 kB / 0.8168 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.9622, allocations: 32 kB / 0.8169 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.9642, allocations: 0.6505 MB / 0.8175 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.9643, allocations: 7.891 kB / 0.8175 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.9644, allocations: 16 kB / 0.8175 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.9644, allocations: 12 kB / 0.8175 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.9667, allocations: 0.6015 MB / 0.8181 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.9707, allocations: 1.641 MB / 0.8197 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/0.9742, allocations: 0.9525 MB / 0.8207 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.9743, allocations: 11.98 kB / 0.8207 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.9759, allocations: 0.5333 MB / 0.8212 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 3.347e-06/0.976, allocations: 4 kB / 0.8212 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.004217/0.9802, allocations: 1.152 MB / 0.8223 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.9804, allocations: 289 kB / 0.8226 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.9811, allocations: 384.7 kB / 0.823 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.9813, allocations: 45.69 kB / 0.823 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.9815, allocations: 201.3 kB / 0.8232 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.9817, allocations: 129.8 kB / 0.8233 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.9817, allocations: 15.94 kB / 0.8233 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.9819, allocations: 362.8 kB / 0.8237 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.9831, allocations: 304.8 kB / 0.824 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.9844, allocations: 497.8 kB / 0.8245 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.9857, allocations: 362.1 kB / 0.8248 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.9857, allocations: 0 / 0.8248 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002836/0.9885, allocations: 0.842 MB / 0.8256 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008092/0.9894, allocations: 1.87 MB / 0.8274 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.9894, allocations: 4 kB / 0.8274 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.9894, allocations: 8 kB / 0.8275 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.9902, allocations: 115.8 kB / 0.8276 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.9902, allocations: 8 kB / 0.8276 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.9911, allocations: 103.7 kB / 0.8277 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.9912, allocations: 28 kB / 0.8277 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.9912, allocations: 4 kB / 0.8277 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001934/0.9931, allocations: 0.6147 MB / 0.8283 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.9932, allocations: 7.953 kB / 0.8283 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.9932, allocations: 11.98 kB / 0.8283 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.9937, allocations: 76.08 kB / 0.8284 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.9937, allocations: 15.97 kB / 0.8284 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.9944, allocations: 76.23 kB / 0.8285 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.9944, allocations: 24 kB / 0.8285 GB, free: 8.906 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.0006135/0.9951, allocations: 364.8 kB / 0.8289 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.9952, allocations: 43.53 kB / 0.8289 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.9954, allocations: 59.31 kB / 0.829 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9954, allocations: 4 kB / 0.829 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.9954, allocations: 4 kB / 0.829 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.9954, allocations: 3.984 kB / 0.829 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/1, allocations: 1.931 MB / 0.8308 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1, allocations: 0 / 0.8308 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/1.001, allocations: 87.84 kB / 0.8309 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/1.001, allocations: 4 kB / 0.8309 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/1.001, allocations: 19.98 kB / 0.831 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/1.001, allocations: 0 / 0.831 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/1.001, allocations: 4 kB / 0.831 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/1.004, allocations: 1.336 MB / 0.8323 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/1.004, allocations: 124.5 kB / 0.8324 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.004, allocations: 27.98 kB / 0.8324 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.005, allocations: 119.9 kB / 0.8325 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.006, allocations: 47.92 kB / 0.8326 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/1.006, allocations: 23.98 kB / 0.8326 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005172/1.006, allocations: 299.1 kB / 0.8329 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.31e-07/1.006, allocations: 0 / 0.8329 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001213/1.007, allocations: 187.7 kB / 0.8331 GB, free: 4.098 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.003487/1.011, allocations: 2.266 MB / 0.8353 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003685/1.015, allocations: 1.143 MB / 0.8364 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.015, allocations: 8.062 kB / 0.8364 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.016, allocations: 391.7 kB / 0.8368 GB, free: 232 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009376/1.017, allocations: 75.56 kB / 0.8368 GB, free: 156 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.028, allocations: 6.482 MB / 0.8432 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/1.028, allocations: 0.9137 MB / 0.8441 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008403/1.029, allocations: 195 kB / 0.8442 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/1.03, allocations: 139.4 kB / 0.8444 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/1.03, allocations: 0 / 0.8444 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03843/1.068, allocations: 10.04 MB / 0.8542 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003576/1.068, allocations: 215.2 kB / 0.8544 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/4.225, allocations: 4.062 kB / 0.8544 GB, free: 14.15 MB / 0.6823 GB