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.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009165/0.009165, 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.001235/0.001234, 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.845/1.845, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.265/2.265, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004655, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5404, allocations: 98.71 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2205/0.761, allocations: 131.6 MB / 0.8118 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.7613, allocations: 79.97 kB / 0.8119 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06656/0.8279, allocations: 16.37 MB / 0.8279 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.988e-06/0.8279, allocations: 0 / 0.8279 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.596e-05/0.828, allocations: 27.98 kB / 0.8279 GB, free: 10.23 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002267/0.8303, allocations: 1.036 MB / 0.8289 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.8304, allocations: 8.031 kB / 0.8289 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.8306, allocations: 94.97 kB / 0.829 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.8319, allocations: 0.5625 MB / 0.8296 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.832, allocations: 96.39 kB / 0.8296 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.8322, allocations: 48 kB / 0.8297 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.8338, allocations: 0.6313 MB / 0.8303 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.8339, allocations: 0 / 0.8303 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.834, allocations: 31.95 kB / 0.8303 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.834, allocations: 12 kB / 0.8303 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.8355, allocations: 471.7 kB / 0.8308 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.8394, allocations: 2.004 MB / 0.8328 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.8413, allocations: 0.6011 MB / 0.8333 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.8413, allocations: 8 kB / 0.8334 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/0.8423, allocations: 321.8 kB / 0.8337 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 3.858e-06/0.8423, allocations: 0 / 0.8337 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.0022/0.8445, allocations: 0.6968 MB / 0.8343 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.8447, allocations: 195.9 kB / 0.8345 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/0.8456, allocations: 0.5152 MB / 0.835 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.8457, allocations: 37.7 kB / 0.8351 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.8461, allocations: 336.3 kB / 0.8354 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.8463, allocations: 153.8 kB / 0.8355 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.8463, allocations: 8 kB / 0.8355 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.8466, allocations: 374.8 kB / 0.8359 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.8472, allocations: 217 kB / 0.8361 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/0.848, allocations: 330 kB / 0.8364 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.8488, allocations: 250.4 kB / 0.8367 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.442e-06/0.8488, allocations: 11.95 kB / 0.8367 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002346/0.8512, allocations: 0.6375 MB / 0.8373 GB, free: 212 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004858/0.8517, allocations: 0.8095 MB / 0.8381 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.8517, allocations: 8 kB / 0.8381 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8517, allocations: 7.953 kB / 0.8381 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.8524, allocations: 119.8 kB / 0.8382 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.8524, allocations: 4 kB / 0.8382 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/0.8531, allocations: 83.5 kB / 0.8383 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.8531, allocations: 23.92 kB / 0.8383 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.8532, allocations: 5.25 kB / 0.8383 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/0.8544, allocations: 483.8 kB / 0.8388 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-06/0.8544, allocations: 0 / 0.8388 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.725e-06/0.8545, allocations: 4 kB / 0.8388 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.855, allocations: 99.83 kB / 0.8389 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.806e-06/0.855, allocations: 4.25 kB / 0.8389 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.8556, allocations: 63.56 kB / 0.8389 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.8556, allocations: 20 kB / 0.839 GB, free: 14.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0005002/0.8561, allocations: 276.9 kB / 0.8392 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.8563, allocations: 67.16 kB / 0.8393 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.8565, allocations: 82.95 kB / 0.8394 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.314e-06/0.8565, allocations: 8 kB / 0.8394 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.997e-06/0.8565, allocations: 0 / 0.8394 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.877e-06/0.8565, allocations: 0 / 0.8394 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.8575, allocations: 0.6297 MB / 0.84 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.26e-06/0.8575, allocations: 4 kB / 0.84 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006503/0.8582, allocations: 95.88 kB / 0.8401 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.64e-06/0.8582, allocations: 4 kB / 0.8401 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.8583, allocations: 12 kB / 0.8401 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.8583, allocations: 0 / 0.8401 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-06/0.8583, allocations: 0 / 0.8401 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.8606, allocations: 0.8178 MB / 0.8409 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.861, allocations: 204.1 kB / 0.8411 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.8611, allocations: 12 kB / 0.8411 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.8617, allocations: 59.94 kB / 0.8412 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8618, allocations: 31.95 kB / 0.8412 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.8619, allocations: 19.98 kB / 0.8412 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007253/0.8626, allocations: 415.1 kB / 0.8416 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.01e-07/0.8627, allocations: 0 / 0.8416 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008959/0.8636, allocations: 215.4 kB / 0.8418 GB, free: 11.39 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002169/0.8638, allocations: 131.1 kB / 0.8419 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.866, allocations: 0.8291 MB / 0.8428 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.866, allocations: 4 kB / 0.8428 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007146/0.8667, allocations: 247.8 kB / 0.843 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009714/0.8677, allocations: 161.8 kB / 0.8431 GB, free: 10 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.8706, allocations: 1.355 MB / 0.8445 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.8713, allocations: 0.922 MB / 0.8454 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005871/0.8719, allocations: 88.95 kB / 0.8455 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.8721, allocations: 51.44 kB / 0.8455 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of SimCode: time 1.763e-06/0.8721, allocations: 0 / 0.8455 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of Templates: time 0.02088/0.893, allocations: 7.616 MB / 0.8529 GB, free: 8 kB / 0.6667 GB