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.009181/0.009181, allocations: 110.5 kB / 15.06 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.001128/0.001128, allocations: 185.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.859/1.859, allocations: 194.5 MB / 211.2 MB, free: 11.26 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.382/2.382, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004771, allocations: 24 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6764, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.8817, allocations: 128.5 MB / 0.8088 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.882, allocations: 79.95 kB / 0.8089 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09305/0.9751, allocations: 23.19 MB / 0.8316 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.766e-06/0.9751, allocations: 224 / 0.8316 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001149/0.9752, allocations: 31.94 kB / 0.8316 GB, free: 6.434 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003289/0.9785, allocations: 1.445 MB / 0.833 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.9786, allocations: 12.03 kB / 0.833 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.9789, allocations: 142.2 kB / 0.8332 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.9807, allocations: 0.7887 MB / 0.8339 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.597e-05/0.9808, allocations: 58 kB / 0.834 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.981, allocations: 79.98 kB / 0.8341 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.9835, allocations: 1.019 MB / 0.8351 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.9835, allocations: 7.953 kB / 0.8351 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.9837, allocations: 35.94 kB / 0.8351 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.9837, allocations: 20 kB / 0.8351 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.9861, allocations: 0.7767 MB / 0.8359 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0065/0.9926, allocations: 3.474 MB / 0.8393 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.9959, allocations: 1.002 MB / 0.8402 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.377e-05/0.996, allocations: 12.55 kB / 0.8403 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.9973, allocations: 442.9 kB / 0.8407 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 4.276e-06/0.9974, allocations: 0 / 0.8407 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.003504/1.001, allocations: 1.105 MB / 0.8418 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002439/1.001, allocations: 368.4 kB / 0.8421 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/1.003, allocations: 0.8449 MB / 0.8429 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/1.003, allocations: 45.7 kB / 0.843 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007397/1.004, allocations: 0.5017 MB / 0.8435 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/1.004, allocations: 232.5 kB / 0.8437 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.004, allocations: 16 kB / 0.8437 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002272/1.005, allocations: 333.8 kB / 0.844 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/1.006, allocations: 321.8 kB / 0.8443 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/1.008, allocations: 493 kB / 0.8448 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/1.01, allocations: 343.1 kB / 0.8451 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.565e-06/1.01, allocations: 0 / 0.8451 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.004535/1.015, allocations: 0.8941 MB / 0.846 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003474/1.015, allocations: 457.4 kB / 0.8464 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.015, allocations: 0 / 0.8464 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/1.015, allocations: 4 kB / 0.8464 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.017, allocations: 179.8 kB / 0.8466 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-05/1.017, allocations: 4 kB / 0.8466 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.018, allocations: 131.2 kB / 0.8467 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.072e-05/1.018, allocations: 24 kB / 0.8468 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.018, allocations: 5.25 kB / 0.8468 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001641/1.02, allocations: 0.5776 MB / 0.8473 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.999e-06/1.02, allocations: 0 / 0.8473 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.02, allocations: 11.94 kB / 0.8473 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/1.021, allocations: 127.8 kB / 0.8475 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.021, allocations: 7.984 kB / 0.8475 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/1.021, allocations: 95.38 kB / 0.8476 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/1.022, allocations: 23.94 kB / 0.8476 GB, free: 5.508 MB / 0.6667 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.0007202/1.022, allocations: 319.4 kB / 0.8479 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.023, allocations: 114.6 kB / 0.848 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/1.023, allocations: 127.8 kB / 0.8481 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.023, allocations: 15.89 kB / 0.8481 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.023, allocations: 4 kB / 0.8481 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.023, allocations: 7.922 kB / 0.8481 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/1.024, allocations: 0.9461 MB / 0.8491 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.024, allocations: 0 / 0.8491 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/1.025, allocations: 155.8 kB / 0.8492 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.026, allocations: 4 kB / 0.8492 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/1.026, allocations: 16 kB / 0.8492 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.026, allocations: 4 kB / 0.8492 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.302e-06/1.026, allocations: 3.953 kB / 0.8492 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/1.029, allocations: 1.282 MB / 0.8505 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/1.03, allocations: 267.5 kB / 0.8508 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/1.03, allocations: 19.98 kB / 0.8508 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/1.031, allocations: 83.94 kB / 0.8509 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.031, allocations: 52.44 kB / 0.8509 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/1.031, allocations: 16 kB / 0.8509 GB, free: 2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001358/1.033, allocations: 0.6621 MB / 0.8516 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.012e-06/1.033, allocations: 0 / 0.8516 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001219/1.034, allocations: 343 kB / 0.8519 GB, free: 0.9961 MB / 0.6667 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.0002787/1.034, allocations: 139 kB / 0.852 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003173/1.037, allocations: 1.062 MB / 0.8531 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.087e-06/1.037, allocations: 0 / 0.8531 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/1.039, allocations: 395.2 kB / 0.8534 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.04, allocations: 315 kB / 0.8537 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/1.045, allocations: 2.146 MB / 0.8558 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009155/1.046, allocations: 1.081 MB / 0.8569 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001049/1.047, allocations: 147.7 kB / 0.857 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/1.048, allocations: 87.41 kB / 0.8571 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of SimCode: time 1.802e-06/1.048, allocations: 0 / 0.8571 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.05951/1.107, allocations: 12.6 MB / 0.8694 GB, free: 15.15 MB / 0.698 GB