Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.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.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004365/0.00437, allocations: 233.2 kB / 15.82 MB, free: 6.289 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.001229/0.001229, allocations: 173.7 kB / 16.7 MB, free: 5.449 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.632/3.632, allocations: 389.1 MB / 406.5 MB, free: 6.781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.479/4.479, allocations: 472.3 MB / 0.9024 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005106, allocations: 16 kB / 1.008 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 98.71 MB / 1.105 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8421/1.056, allocations: 128.5 MB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.056, allocations: 86.55 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.08746/1.144, allocations: 23.14 MB / 1.253 GB, free: 179.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.435e-06/1.144, allocations: 0.8438 kB / 1.253 GB, free: 179.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001316/1.144, allocations: 32.16 kB / 1.253 GB, free: 179.2 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003828/1.148, allocations: 1.451 MB / 1.254 GB, free: 177.8 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/1.148, allocations: 9.781 kB / 1.254 GB, free: 177.8 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/1.148, allocations: 153 kB / 1.254 GB, free: 177.6 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/1.15, allocations: 0.7891 MB / 1.255 GB, free: 176.9 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/1.15, allocations: 58.12 kB / 1.255 GB, free: 176.9 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/1.15, allocations: 80.31 kB / 1.255 GB, free: 176.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/1.153, allocations: 1.03 MB / 1.256 GB, free: 176 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/1.153, allocations: 6.125 kB / 1.256 GB, free: 176 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.153, allocations: 30.56 kB / 1.256 GB, free: 176 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/1.153, allocations: 21.06 kB / 1.256 GB, free: 176 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/1.156, allocations: 0.7738 MB / 1.257 GB, free: 175.4 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/1.162, allocations: 3.474 MB / 1.261 GB, free: 172.5 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/1.166, allocations: 0.992 MB / 1.262 GB, free: 171.7 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/1.167, allocations: 359.8 kB / 1.262 GB, free: 171.5 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/1.167, allocations: 12.56 kB / 1.262 GB, free: 171.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/1.168, allocations: 437.2 kB / 1.262 GB, free: 171.2 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=68): time 3.767e-06/1.168, allocations: 0 / 1.262 GB, free: 171.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=68): time 0.004087/1.173, allocations: 1.111 MB / 1.263 GB, free: 170.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.173, allocations: 376.4 kB / 1.264 GB, free: 169.9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/1.175, allocations: 0.9725 MB / 1.265 GB, free: 169.1 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002796/1.175, allocations: 40.08 kB / 1.265 GB, free: 169.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/1.175, allocations: 0.5057 MB / 1.265 GB, free: 168.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.176, allocations: 235.4 kB / 1.265 GB, free: 168.6 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/1.176, allocations: 13.81 kB / 1.265 GB, free: 168.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/1.176, allocations: 328.5 kB / 1.266 GB, free: 168.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.177, allocations: 322.3 kB / 1.266 GB, free: 168.1 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.179, allocations: 489.1 kB / 1.267 GB, free: 167.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.18, allocations: 346.2 kB / 1.267 GB, free: 167.4 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.18, allocations: 0 / 1.267 GB, free: 167.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003086/1.183, allocations: 0.8942 MB / 1.268 GB, free: 166.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/1.183, allocations: 120.2 kB / 1.268 GB, free: 166.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.183, allocations: 4 kB / 1.268 GB, free: 166.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/1.183, allocations: 4 kB / 1.268 GB, free: 166.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/1.185, allocations: 179.1 kB / 1.268 GB, free: 166.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/1.185, allocations: 4 kB / 1.268 GB, free: 166.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.186, allocations: 134.8 kB / 1.268 GB, free: 166.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.186, allocations: 19.25 kB / 1.268 GB, free: 166.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.186, allocations: 4 kB / 1.268 GB, free: 166.3 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001646/1.188, allocations: 0.5805 MB / 1.269 GB, free: 165.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.188, allocations: 5.031 kB / 1.269 GB, free: 165.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/1.188, allocations: 4 kB / 1.269 GB, free: 165.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.189, allocations: 127.3 kB / 1.269 GB, free: 165.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.189, allocations: 9.062 kB / 1.269 GB, free: 165.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/1.19, allocations: 93.34 kB / 1.269 GB, free: 165.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/1.19, allocations: 18.38 kB / 1.269 GB, free: 165.7 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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.0007352/1.191, allocations: 325.5 kB / 1.269 GB, free: 165.5 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/1.192, allocations: 114.5 kB / 1.269 GB, free: 165.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/1.192, allocations: 128.3 kB / 1.27 GB, free: 165.3 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.192, allocations: 8 kB / 1.27 GB, free: 165.3 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.192, allocations: 3.984 kB / 1.27 GB, free: 165.3 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.192, allocations: 5.531 kB / 1.27 GB, free: 165.2 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.193, allocations: 0.9523 MB / 1.27 GB, free: 164.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/1.193, allocations: 5.297 kB / 1.27 GB, free: 164.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.195, allocations: 158.3 kB / 1.271 GB, free: 164.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.195, allocations: 0 / 1.271 GB, free: 164.4 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/1.195, allocations: 18.19 kB / 1.271 GB, free: 164.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.195, allocations: 0 / 1.271 GB, free: 164.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.195, allocations: 3.984 kB / 1.271 GB, free: 164.3 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/1.199, allocations: 1.277 MB / 1.272 GB, free: 163.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006301/1.2, allocations: 270.7 kB / 1.272 GB, free: 163.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/1.2, allocations: 25.8 kB / 1.272 GB, free: 163.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.201, allocations: 84.88 kB / 1.272 GB, free: 163.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.201, allocations: 47.11 kB / 1.272 GB, free: 163 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/1.201, allocations: 15.94 kB / 1.272 GB, free: 163 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001239/1.203, allocations: 0.661 MB / 1.273 GB, free: 162.5 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.11e-07/1.203, allocations: 0 / 1.273 GB, free: 162.5 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001303/1.204, allocations: 339.8 kB / 1.273 GB, free: 162.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (68): * Single equations (assignments): 66 * 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.0002546/1.204, allocations: 148.5 kB / 1.273 GB, free: 162.1 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00343/1.208, allocations: 1.057 MB / 1.274 GB, free: 161.3 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.208, allocations: 0 / 1.274 GB, free: 161.3 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/1.209, allocations: 400.3 kB / 1.275 GB, free: 161 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.212, allocations: 339.2 kB / 1.275 GB, free: 160.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/1.217, allocations: 2.138 MB / 1.277 GB, free: 158.8 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/1.217, allocations: 1.085 MB / 1.278 GB, free: 157.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001179/1.218, allocations: 137 kB / 1.278 GB, free: 157.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/1.219, allocations: 86.84 kB / 1.279 GB, free: 157.5 MB / 0.7917 GB Notification: Performance of SimCode: time 1.192e-06/1.219, allocations: 0 / 1.279 GB, free: 157.5 MB / 0.7917 GB Notification: Performance of Templates: time 0.03427/1.253, allocations: 12.61 MB / 1.291 GB, free: 145.3 MB / 0.7917 GB