Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadModel(Buildings): time 4.08/4.08, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.105e-05, allocations: 4.328 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1785, allocations: 98.72 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.3831, allocations: 131.9 MB / 0.7635 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.3834, allocations: 75.95 kB / 0.7636 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5116/0.8951, allocations: 19.3 MB / 0.7825 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.138e-06/0.8951, allocations: 0 / 0.7825 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001103/0.8952, allocations: 29.47 kB / 0.7825 GB, free: 134.7 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002124/0.8974, allocations: 1.05 MB / 0.7835 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.8974, allocations: 13.78 kB / 0.7835 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.8978, allocations: 117.1 kB / 0.7836 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.8994, allocations: 0.7058 MB / 0.7843 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.8996, allocations: 81.39 kB / 0.7844 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.8997, allocations: 69.84 kB / 0.7845 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.9013, allocations: 0.6897 MB / 0.7851 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.9014, allocations: 0.9062 kB / 0.7851 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.9015, allocations: 29.08 kB / 0.7852 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.9015, allocations: 15.06 kB / 0.7852 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.9027, allocations: 469.1 kB / 0.7856 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/0.9076, allocations: 2.143 MB / 0.7877 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.9092, allocations: 0.5842 MB / 0.7883 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.9098, allocations: 224 kB / 0.7885 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.9099, allocations: 7.312 kB / 0.7885 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007078/0.9106, allocations: 302.6 kB / 0.7888 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 4.925e-06/0.9106, allocations: 0 / 0.7888 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.001401/0.912, allocations: 0.5151 MB / 0.7893 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.9121, allocations: 136.7 kB / 0.7894 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.9134, allocations: 0.6286 MB / 0.79 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.9135, allocations: 36.33 kB / 0.7901 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.9139, allocations: 421.5 kB / 0.7905 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.9142, allocations: 205.6 kB / 0.7907 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.9142, allocations: 12.47 kB / 0.7907 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.9143, allocations: 334.6 kB / 0.791 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.9149, allocations: 174.3 kB / 0.7912 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/0.9155, allocations: 282.9 kB / 0.7914 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.916, allocations: 206.8 kB / 0.7916 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-06/0.916, allocations: 0 / 0.7916 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001568/0.9176, allocations: 0.5856 MB / 0.7922 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.9178, allocations: 0.7024 MB / 0.7929 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.9179, allocations: 6.094 kB / 0.7929 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.9179, allocations: 3.906 kB / 0.7929 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.9191, allocations: 157.1 kB / 0.7931 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.9192, allocations: 8.125 kB / 0.7931 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.9201, allocations: 84.72 kB / 0.7932 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/0.9202, allocations: 20.17 kB / 0.7932 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9202, allocations: 5.688 kB / 0.7932 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/0.9216, allocations: 480.6 kB / 0.7936 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9217, allocations: 2.516 kB / 0.7936 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.9217, allocations: 4.406 kB / 0.7936 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.9228, allocations: 147.3 kB / 0.7938 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.9228, allocations: 9.641 kB / 0.7938 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.9236, allocations: 58.09 kB / 0.7938 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.9237, allocations: 22.31 kB / 0.7939 GB, free: 130.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDInp.trigger,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0002594/0.924, allocations: 140.5 kB / 0.794 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.9242, allocations: 90.19 kB / 0.7941 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.9245, allocations: 100.3 kB / 0.7942 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.9246, allocations: 6.547 kB / 0.7942 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.9246, allocations: 0 / 0.7942 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.9246, allocations: 7.234 kB / 0.7942 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.9275, allocations: 1.414 MB / 0.7956 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.622e-06/0.9276, allocations: 0 / 0.7956 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.9285, allocations: 111.1 kB / 0.7957 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.9285, allocations: 2.781 kB / 0.7957 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/0.9286, allocations: 17.08 kB / 0.7957 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.552e-06/0.9286, allocations: 6.719 kB / 0.7957 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.418e-06/0.9286, allocations: 0 / 0.7957 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.9306, allocations: 0.9001 MB / 0.7966 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.931, allocations: 233 kB / 0.7968 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.9312, allocations: 12.58 kB / 0.7968 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.9319, allocations: 49.05 kB / 0.7969 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.9321, allocations: 39.56 kB / 0.7969 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.9322, allocations: 22.22 kB / 0.7969 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008962/0.9331, allocations: 498.4 kB / 0.7974 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.91e-07/0.9331, allocations: 3.938 kB / 0.7974 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001104/0.9342, allocations: 274.5 kB / 0.7977 GB, free: 129.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001889/0.9344, allocations: 122.7 kB / 0.7978 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.9362, allocations: 0.7621 MB / 0.7985 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.922e-06/0.9362, allocations: 1.375 kB / 0.7985 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.9368, allocations: 248 kB / 0.7988 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.9383, allocations: 208.9 kB / 0.799 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.9412, allocations: 1.144 MB / 0.8001 GB, free: 129 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.9417, allocations: 1.003 MB / 0.8011 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001178/0.9429, allocations: 166.1 kB / 0.8012 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.9432, allocations: 49.27 kB / 0.8013 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.733e-06/0.9432, allocations: 0 / 0.8013 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.02664/0.9698, allocations: 10.65 MB / 0.8117 GB, free: 126 MB / 0.6511 GB