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/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.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.091/4.091, allocations: 433.4 MB / 440.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.347e-05, allocations: 0 / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.491, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.6921, allocations: 130.6 MB / 0.7564 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.6923, allocations: 75.95 kB / 0.7565 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04716/0.7395, allocations: 12.53 MB / 0.7688 GB, free: 288 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.428e-06/0.7396, allocations: 0 / 0.7688 GB, free: 288 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.429e-05/0.7397, allocations: 12 kB / 0.7688 GB, free: 276 kB / 0.6355 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.001861/0.7415, allocations: 0.88 MB / 0.7696 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7416, allocations: 16.02 kB / 0.7696 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.7418, allocations: 83.19 kB / 0.7697 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.7429, allocations: 0.5311 MB / 0.7702 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.743, allocations: 20 kB / 0.7703 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.7431, allocations: 36 kB / 0.7703 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001097/0.7442, allocations: 402.6 kB / 0.7707 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.7455, allocations: 0.5176 MB / 0.7712 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.7455, allocations: 4 kB / 0.7712 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.514e-05/0.7456, allocations: 0 / 0.7712 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.7456, allocations: 12 kB / 0.7712 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.7499, allocations: 2.011 MB / 0.7732 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.7509, allocations: 407.5 kB / 0.7735 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.7514, allocations: 209 kB / 0.7737 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.7514, allocations: 4.438 kB / 0.7737 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/0.752, allocations: 236.5 kB / 0.774 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 4.52e-06/0.752, allocations: 11.88 kB / 0.774 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.001037/0.7531, allocations: 399.5 kB / 0.7744 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.7532, allocations: 158.7 kB / 0.7745 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.7538, allocations: 349.2 kB / 0.7749 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.7539, allocations: 29.7 kB / 0.7749 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.7543, allocations: 325 kB / 0.7752 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.7545, allocations: 157.7 kB / 0.7753 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.7545, allocations: 4 kB / 0.7753 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.7548, allocations: 362.8 kB / 0.7757 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.7552, allocations: 145.1 kB / 0.7758 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.7557, allocations: 246.4 kB / 0.7761 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.7562, allocations: 181.1 kB / 0.7762 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7562, allocations: 0 / 0.7762 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001181/0.7574, allocations: 486.3 kB / 0.7767 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003958/0.7578, allocations: 0.6396 MB / 0.7773 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.201e-06/0.7578, allocations: 0 / 0.7773 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.7579, allocations: 4 kB / 0.7773 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.7586, allocations: 127.8 kB / 0.7775 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.7586, allocations: 4 kB / 0.7775 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.7592, allocations: 67.64 kB / 0.7775 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.7592, allocations: 16 kB / 0.7775 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.7593, allocations: 6.188 kB / 0.7775 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009592/0.7602, allocations: 381.3 kB / 0.7779 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7603, allocations: 8 kB / 0.7779 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7603, allocations: 7.953 kB / 0.7779 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.7609, allocations: 107.8 kB / 0.778 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7609, allocations: 12.17 kB / 0.778 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.7614, allocations: 51.66 kB / 0.7781 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.7615, allocations: 16 kB / 0.7781 GB, free: 6.348 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.0002058/0.7617, allocations: 124.9 kB / 0.7782 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.7618, allocations: 59.34 kB / 0.7783 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.762, allocations: 53.2 kB / 0.7783 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7621, allocations: 7.953 kB / 0.7783 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.721e-06/0.7621, allocations: 0 / 0.7783 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7621, allocations: 7.984 kB / 0.7783 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.7643, allocations: 1.104 MB / 0.7794 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.676e-06/0.7643, allocations: 0 / 0.7794 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.765, allocations: 111.9 kB / 0.7795 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.612e-06/0.7651, allocations: 0 / 0.7795 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.7651, allocations: 11.95 kB / 0.7795 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.389e-06/0.7651, allocations: 0 / 0.7795 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.684e-06/0.7651, allocations: 3.938 kB / 0.7795 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.7666, allocations: 0.7211 MB / 0.7802 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.7669, allocations: 176.3 kB / 0.7804 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.767, allocations: 7.984 kB / 0.7804 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.7675, allocations: 43.92 kB / 0.7805 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7677, allocations: 40.38 kB / 0.7805 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.7678, allocations: 15.94 kB / 0.7805 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004618/0.7682, allocations: 271 kB / 0.7808 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.46e-07/0.7682, allocations: 0 / 0.7808 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009609/0.7692, allocations: 239 kB / 0.781 GB, free: 3.289 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.0002022/0.7694, allocations: 116.4 kB / 0.7811 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.7709, allocations: 0.7145 MB / 0.7818 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.583e-06/0.7709, allocations: 0 / 0.7818 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.7714, allocations: 205.5 kB / 0.782 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.7722, allocations: 114.4 kB / 0.7821 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.7757, allocations: 1.247 MB / 0.7833 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.7764, allocations: 0.903 MB / 0.7842 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006706/0.7771, allocations: 92.31 kB / 0.7843 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.7773, allocations: 39.36 kB / 0.7843 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of SimCode: time 1.68e-06/0.7773, allocations: 0 / 0.7843 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of Templates: time 0.01906/0.7964, allocations: 6.732 MB / 0.7909 GB, free: 9.105 MB / 0.6667 GB