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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.908/3.908, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.907e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4924, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.6911, allocations: 131.3 MB / 0.7571 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.6914, allocations: 71.97 kB / 0.7571 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07675/0.7682, allocations: 19.17 MB / 0.7759 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.176e-06/0.7682, allocations: 0 / 0.7759 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.682e-05/0.7683, allocations: 28.12 kB / 0.7759 GB, free: 8.98 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.002121/0.7705, allocations: 1.046 MB / 0.7769 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7705, allocations: 16.02 kB / 0.7769 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.7708, allocations: 122.5 kB / 0.777 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.7725, allocations: 0.7068 MB / 0.7777 GB, free: 7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.7727, allocations: 59.02 kB / 0.7778 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.7728, allocations: 36 kB / 0.7778 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001172/0.774, allocations: 450.5 kB / 0.7783 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.7754, allocations: 0.5858 MB / 0.7788 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.7754, allocations: 4 kB / 0.7788 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.7755, allocations: 11.92 kB / 0.7788 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.7755, allocations: 16 kB / 0.7789 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/0.7798, allocations: 2 MB / 0.7808 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.7814, allocations: 0.5597 MB / 0.7814 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/0.7818, allocations: 206.5 kB / 0.7816 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/0.7819, allocations: 8.562 kB / 0.7816 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006577/0.7826, allocations: 278 kB / 0.7818 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 3.869e-06/0.7826, allocations: 0 / 0.7818 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.001233/0.7838, allocations: 494.5 kB / 0.7823 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.784, allocations: 141 kB / 0.7824 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.7849, allocations: 0.5356 MB / 0.783 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-05/0.785, allocations: 29.7 kB / 0.783 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.7855, allocations: 429.8 kB / 0.7834 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.7857, allocations: 197.1 kB / 0.7836 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.7857, allocations: 3.938 kB / 0.7836 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7859, allocations: 326 kB / 0.7839 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.7864, allocations: 165.6 kB / 0.7841 GB, free: 352 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.7869, allocations: 272.2 kB / 0.7843 GB, free: 44 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.7874, allocations: 190.2 kB / 0.7845 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.314e-06/0.7874, allocations: 3.938 kB / 0.7845 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001286/0.7887, allocations: 0.5409 MB / 0.785 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.7891, allocations: 0.7049 MB / 0.7857 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.7892, allocations: 7.984 kB / 0.7857 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.7892, allocations: 11.94 kB / 0.7857 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7903, allocations: 151.8 kB / 0.7859 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7903, allocations: 4 kB / 0.7859 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.791, allocations: 59.66 kB / 0.7859 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.7911, allocations: 23.92 kB / 0.786 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.7911, allocations: 6.031 kB / 0.786 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/0.7921, allocations: 417.3 kB / 0.7864 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.695e-06/0.7922, allocations: 192 / 0.7864 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7922, allocations: 12 kB / 0.7864 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.7931, allocations: 135.8 kB / 0.7865 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.7931, allocations: 7.938 kB / 0.7865 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.7936, allocations: 47.52 kB / 0.7866 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.7937, allocations: 16 kB / 0.7866 GB, free: 13.66 MB / 0.6667 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.0002079/0.7939, allocations: 121 kB / 0.7867 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.7941, allocations: 90.94 kB / 0.7868 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.7944, allocations: 88.64 kB / 0.7869 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.649e-06/0.7944, allocations: 4 kB / 0.7869 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-06/0.7944, allocations: 0 / 0.7869 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.7945, allocations: 7.984 kB / 0.7869 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.7971, allocations: 1.295 MB / 0.7881 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.857e-06/0.7972, allocations: 4 kB / 0.7881 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.7979, allocations: 107.8 kB / 0.7882 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-06/0.798, allocations: 4 kB / 0.7883 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.798, allocations: 4 kB / 0.7883 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.798, allocations: 0 / 0.7883 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7981, allocations: 0 / 0.7883 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.7999, allocations: 0.8616 MB / 0.7891 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.8003, allocations: 219.9 kB / 0.7893 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.8004, allocations: 0 / 0.7893 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.8011, allocations: 43.95 kB / 0.7893 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.8012, allocations: 40.5 kB / 0.7894 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.8013, allocations: 19.98 kB / 0.7894 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000743/0.8021, allocations: 427 kB / 0.7898 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.28e-07/0.8021, allocations: 0 / 0.7898 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001039/0.8031, allocations: 258.8 kB / 0.7901 GB, free: 10.02 MB / 0.6667 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.000215/0.8034, allocations: 112.3 kB / 0.7902 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.8051, allocations: 0.7153 MB / 0.7909 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.498e-06/0.8051, allocations: 0 / 0.7909 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.8056, allocations: 234 kB / 0.7911 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.8068, allocations: 193.7 kB / 0.7913 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.8097, allocations: 1.097 MB / 0.7923 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.8106, allocations: 1.006 MB / 0.7933 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001072/0.8116, allocations: 156.8 kB / 0.7935 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.8119, allocations: 43.44 kB / 0.7935 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of SimCode: time 1.738e-06/0.8119, allocations: 3.938 kB / 0.7935 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of Templates: time 0.4919/1.304, allocations: 9.607 MB / 0.8029 GB, free: 155.7 MB / 0.6667 GB