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.01092/0.01092, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001139/0.001139, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.865/3.865, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.205/4.205, allocations: 472.3 MB / 0.9018 GB, free: 13.38 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004839, allocations: 8 kB / 1.008 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.5501, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005217/0.5554, allocations: 3.026 MB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003657/0.5591, allocations: 1.184 MB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/0.5598, allocations: 24.44 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.56, allocations: 47.39 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009282/0.5609, allocations: 162.1 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.5628, allocations: 455.2 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008565/0.5637, allocations: 0.8003 MB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.5641, allocations: 249.6 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.5644, allocations: 259.7 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.5647, allocations: 250.4 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.5648, allocations: 20 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.5648, allocations: 20 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.5649, allocations: 111.4 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.5651, allocations: 130.2 kB / 1.111 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.5656, allocations: 0.5934 MB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5656, allocations: 0.9062 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.974e-06/0.5656, allocations: 4 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.5656, allocations: 2.125 kB / 1.111 GB, free: 176.5 MB / 0.6823 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.001766/0.5674, allocations: 1.032 MB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.5674, allocations: 8.031 kB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.5676, allocations: 95.48 kB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.5686, allocations: 0.5533 MB / 1.113 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.5687, allocations: 100.4 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/0.5688, allocations: 48 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5699, allocations: 0.5769 MB / 1.114 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.57, allocations: 0 / 1.114 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.12e-05/0.5701, allocations: 25.31 kB / 1.114 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.5701, allocations: 12 kB / 1.114 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.5712, allocations: 434.5 kB / 1.114 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.5741, allocations: 1.907 MB / 1.116 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5755, allocations: 0.5154 MB / 1.116 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.5761, allocations: 228.1 kB / 1.117 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.5762, allocations: 7.984 kB / 1.117 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007515/0.5769, allocations: 296.8 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.83e-06/0.5769, allocations: 0 / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.00169/0.5786, allocations: 0.6195 MB / 1.117 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.5787, allocations: 85.11 kB / 1.118 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007091/0.5794, allocations: 0.5746 MB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.5795, allocations: 37.7 kB / 1.118 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.5797, allocations: 336.3 kB / 1.118 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5799, allocations: 154 kB / 1.119 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.5799, allocations: 12 kB / 1.119 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.58, allocations: 378.7 kB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.5805, allocations: 187.6 kB / 1.119 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.5811, allocations: 260.9 kB / 1.119 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.5817, allocations: 235.8 kB / 1.12 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5817, allocations: 4 kB / 1.12 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001409/0.5831, allocations: 0.5885 MB / 1.12 GB, free: 167 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.5832, allocations: 172.6 kB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.372e-06/0.5833, allocations: 2.969 kB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5833, allocations: 8 kB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.5838, allocations: 109.5 kB / 1.12 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5839, allocations: 4 kB / 1.12 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.5843, allocations: 75.38 kB / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.5844, allocations: 19.95 kB / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.703e-06/0.5844, allocations: 7.984 kB / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009819/0.5854, allocations: 467 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.379e-06/0.5854, allocations: 8.25 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.5854, allocations: 7.938 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.5859, allocations: 95.89 kB / 1.121 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.761e-06/0.5859, allocations: 4 kB / 1.121 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.5863, allocations: 55.52 kB / 1.121 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.5864, allocations: 16 kB / 1.121 GB, free: 165.9 MB / 0.6823 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.0003157/0.5867, allocations: 265.8 kB / 1.121 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5868, allocations: 75.89 kB / 1.122 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.587, allocations: 75.7 kB / 1.122 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.395e-06/0.587, allocations: 8 kB / 1.122 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.92e-06/0.587, allocations: 0 / 1.122 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.909e-06/0.587, allocations: 0 / 1.122 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.5877, allocations: 0.6062 MB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-06/0.5877, allocations: 0 / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.5882, allocations: 90.42 kB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.195e-06/0.5883, allocations: 3.953 kB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.5883, allocations: 12.84 kB / 1.122 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.124e-06/0.5883, allocations: 0 / 1.122 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.837e-06/0.5883, allocations: 0.9375 kB / 1.122 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.5901, allocations: 0.7326 MB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.5903, allocations: 188.1 kB / 1.123 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.5905, allocations: 11.95 kB / 1.123 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.5909, allocations: 55.2 kB / 1.123 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5911, allocations: 27.95 kB / 1.123 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.5911, allocations: 15.98 kB / 1.123 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005295/0.5917, allocations: 411.9 kB / 1.124 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.69e-07/0.5917, allocations: 0 / 1.124 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007479/0.5924, allocations: 203.4 kB / 1.124 GB, free: 163.1 MB / 0.6823 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.0001474/0.5926, allocations: 117.9 kB / 1.124 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.5943, allocations: 0.7797 MB / 1.125 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.41e-06/0.5943, allocations: 3.938 kB / 1.125 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.5949, allocations: 222.8 kB / 1.125 GB, free: 162 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.5959, allocations: 168.9 kB / 1.125 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5981, allocations: 1.341 MB / 1.126 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.5985, allocations: 0.9243 MB / 1.127 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004974/0.599, allocations: 85.27 kB / 1.127 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.5992, allocations: 47.42 kB / 1.127 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.631e-06/0.5992, allocations: 0 / 1.127 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.01685/0.6161, allocations: 6.747 MB / 1.134 GB, free: 153.1 MB / 0.6823 GB