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.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 4.056/4.056, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.716e-05, allocations: 4.781 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1768, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.3797, allocations: 131.3 MB / 0.7629 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.38, allocations: 75.95 kB / 0.763 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04883/0.4288, allocations: 12.65 MB / 0.7753 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.441e-06/0.4289, allocations: 0 / 0.7753 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.621e-05/0.429, allocations: 12 kB / 0.7753 GB, free: 1.727 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001817/0.4308, allocations: 0.8763 MB / 0.7762 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4308, allocations: 15.97 kB / 0.7762 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.4311, allocations: 82.97 kB / 0.7763 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.4322, allocations: 0.5289 MB / 0.7768 GB, free: 128 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.4322, allocations: 45.31 kB / 0.7768 GB, free: 84 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4324, allocations: 60 kB / 0.7769 GB, free: 24 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4329/0.8653, allocations: 0.6001 MB / 0.7775 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.8654, allocations: 2.422 kB / 0.7775 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/0.8655, allocations: 28.78 kB / 0.7775 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.8655, allocations: 15.11 kB / 0.7775 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.8666, allocations: 430.1 kB / 0.7779 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.8708, allocations: 2.102 MB / 0.78 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.8718, allocations: 432.6 kB / 0.7804 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.8723, allocations: 224.1 kB / 0.7806 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.8724, allocations: 9.688 kB / 0.7806 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.873, allocations: 251.8 kB / 0.7809 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 4.19e-06/0.873, allocations: 1 kB / 0.7809 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.001094/0.8741, allocations: 433.1 kB / 0.7813 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.8742, allocations: 164.6 kB / 0.7814 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.8749, allocations: 396.8 kB / 0.7818 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.875, allocations: 37.11 kB / 0.7818 GB, free: 133 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.8753, allocations: 318.1 kB / 0.7821 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.8755, allocations: 174.1 kB / 0.7823 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.8755, allocations: 10.38 kB / 0.7823 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8757, allocations: 367.8 kB / 0.7827 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.8762, allocations: 157.2 kB / 0.7828 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.8767, allocations: 261.8 kB / 0.7831 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.8772, allocations: 204.8 kB / 0.7833 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.644e-06/0.8772, allocations: 1.688 kB / 0.7833 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001235/0.8784, allocations: 0.5288 MB / 0.7838 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.8786, allocations: 0.6442 MB / 0.7844 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8786, allocations: 5.203 kB / 0.7844 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.8787, allocations: 3.812 kB / 0.7844 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.8794, allocations: 126.6 kB / 0.7845 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.8794, allocations: 8.531 kB / 0.7846 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.88, allocations: 83.67 kB / 0.7846 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.8801, allocations: 17.89 kB / 0.7846 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.294e-06/0.8801, allocations: 4.047 kB / 0.7847 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001017/0.8812, allocations: 463.9 kB / 0.7851 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.135e-06/0.8812, allocations: 3.422 kB / 0.7851 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.8812, allocations: 4.219 kB / 0.7851 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.8818, allocations: 110.2 kB / 0.7852 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.8818, allocations: 6.219 kB / 0.7852 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.8824, allocations: 69.97 kB / 0.7853 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.8825, allocations: 22.42 kB / 0.7853 GB, free: 131.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0001986/0.8827, allocations: 138 kB / 0.7854 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.8828, allocations: 54.92 kB / 0.7855 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.883, allocations: 68.61 kB / 0.7856 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.998e-06/0.883, allocations: 5.031 kB / 0.7856 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.8831, allocations: 1.406 kB / 0.7856 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.8831, allocations: 5.906 kB / 0.7856 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.8854, allocations: 1.22 MB / 0.7868 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-06/0.8854, allocations: 0.9688 kB / 0.7868 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.8862, allocations: 107.7 kB / 0.7869 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.8862, allocations: 5.188 kB / 0.7869 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.8863, allocations: 11.38 kB / 0.7869 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.495e-06/0.8863, allocations: 2.781 kB / 0.7869 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.197e-06/0.8863, allocations: 0 / 0.7869 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.8879, allocations: 0.7534 MB / 0.7876 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.8883, allocations: 184.7 kB / 0.7878 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.8884, allocations: 12.09 kB / 0.7878 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.889, allocations: 53.33 kB / 0.7878 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.8891, allocations: 41.08 kB / 0.7879 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.8892, allocations: 13.45 kB / 0.7879 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005592/0.8898, allocations: 310 kB / 0.7882 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.32e-07/0.8898, allocations: 1.438 kB / 0.7882 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001033/0.8908, allocations: 266.2 kB / 0.7885 GB, free: 130.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.0001943/0.891, allocations: 123.9 kB / 0.7886 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.8927, allocations: 0.7544 MB / 0.7893 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.534e-06/0.8927, allocations: 0.5 kB / 0.7893 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.8932, allocations: 212.1 kB / 0.7895 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.8942, allocations: 141.3 kB / 0.7896 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.8976, allocations: 1.286 MB / 0.7909 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.8981, allocations: 0.9049 MB / 0.7918 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007644/0.8989, allocations: 99.58 kB / 0.7919 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.8991, allocations: 35.22 kB / 0.7919 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.717e-06/0.8991, allocations: 4 kB / 0.7919 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.02058/0.9197, allocations: 7.606 MB / 0.7993 GB, free: 128.7 MB / 0.6511 GB