Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004437/0.004441, allocations: 233.4 kB / 15.82 MB, free: 6.289 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.001194/0.001194, allocations: 171.7 kB / 16.7 MB, free: 5.449 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 3.997/3.997, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.047/4.047, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007387/0.000739, allocations: 13.31 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1956, allocations: 98.71 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7795/0.9752, allocations: 131.4 MB / 1.233 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.9755, allocations: 86.22 kB / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.053/1.029, allocations: 12.64 MB / 1.245 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/1.029, allocations: 0 / 1.245 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.579e-05/1.029, allocations: 16 kB / 1.245 GB, free: 14.33 MB / 0.6198 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.002863/1.032, allocations: 0.9586 MB / 1.246 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.032, allocations: 8.031 kB / 1.246 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/1.032, allocations: 86.33 kB / 1.246 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.033, allocations: 0.5352 MB / 1.247 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/1.033, allocations: 43.5 kB / 1.247 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/1.034, allocations: 58.05 kB / 1.247 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/1.036, allocations: 0.6729 MB / 1.248 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/1.036, allocations: 0 / 1.248 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.036, allocations: 36.12 kB / 1.248 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/1.036, allocations: 12 kB / 1.248 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/1.039, allocations: 0.5183 MB / 1.248 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00608/1.045, allocations: 2.099 MB / 1.25 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/1.047, allocations: 0.5246 MB / 1.251 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/1.049, allocations: 261.4 kB / 1.251 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/1.049, allocations: 8.938 kB / 1.251 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/1.05, allocations: 305.8 kB / 1.251 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=50): time 4.96e-06/1.05, allocations: 0 / 1.251 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50): time 0.003257/1.053, allocations: 0.7009 MB / 1.252 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/1.053, allocations: 167.9 kB / 1.252 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.054, allocations: 458.7 kB / 1.253 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/1.055, allocations: 40.45 kB / 1.253 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/1.055, allocations: 319.5 kB / 1.253 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/1.055, allocations: 168.9 kB / 1.253 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/1.055, allocations: 12.41 kB / 1.253 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002512/1.056, allocations: 366.5 kB / 1.253 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/1.057, allocations: 206.8 kB / 1.254 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.058, allocations: 315.2 kB / 1.254 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.059, allocations: 253.3 kB / 1.254 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.059, allocations: 1.5 kB / 1.254 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002547/1.061, allocations: 0.6348 MB / 1.255 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003053/1.062, allocations: 159 kB / 1.255 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.062, allocations: 4 kB / 1.255 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.062, allocations: 7.156 kB / 1.255 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.063, allocations: 126.8 kB / 1.255 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.063, allocations: 4 kB / 1.255 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.064, allocations: 88.03 kB / 1.255 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/1.064, allocations: 14.94 kB / 1.255 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.064, allocations: 4 kB / 1.255 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/1.066, allocations: 0.4998 MB / 1.256 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.066, allocations: 2.625 kB / 1.256 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.066, allocations: 4 kB / 1.256 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.067, allocations: 112.9 kB / 1.256 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.067, allocations: 4 kB / 1.256 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/1.068, allocations: 69 kB / 1.256 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/1.068, allocations: 15.38 kB / 1.256 GB, free: 21.84 MB / 0.6355 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 () * Number of clocked 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.0006968/1.069, allocations: 288.6 kB / 1.256 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/1.069, allocations: 67.19 kB / 1.256 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/1.07, allocations: 60.78 kB / 1.256 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.07, allocations: 4 kB / 1.256 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.07, allocations: 4 kB / 1.256 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.07, allocations: 6.516 kB / 1.256 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/1.074, allocations: 1.321 MB / 1.258 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.074, allocations: 0 / 1.258 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.075, allocations: 108.9 kB / 1.258 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.075, allocations: 0 / 1.258 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/1.075, allocations: 14.55 kB / 1.258 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.075, allocations: 2.469 kB / 1.258 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.075, allocations: 0 / 1.258 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/1.078, allocations: 0.8915 MB / 1.259 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/1.079, allocations: 187.5 kB / 1.259 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.079, allocations: 14.25 kB / 1.259 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009277/1.08, allocations: 43.12 kB / 1.259 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/1.08, allocations: 43.5 kB / 1.259 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/1.08, allocations: 11.69 kB / 1.259 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000732/1.081, allocations: 315.6 kB / 1.259 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/1.081, allocations: 0 / 1.259 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001514/1.083, allocations: 260.2 kB / 1.259 GB, free: 19.04 MB / 0.6355 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) * Number of clocked states: 0 () * 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.0002547/1.083, allocations: 133.9 kB / 1.26 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003098/1.086, allocations: 0.8512 MB / 1.26 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.086, allocations: 6.594 kB / 1.26 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.087, allocations: 255 kB / 1.261 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.089, allocations: 166.2 kB / 1.261 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/1.095, allocations: 1.836 MB / 1.263 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/1.096, allocations: 0.9019 MB / 1.263 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007845/1.097, allocations: 75.52 kB / 1.264 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.097, allocations: 35.44 kB / 1.264 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/1.097, allocations: 0 / 1.264 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.02212/1.119, allocations: 6.645 MB / 1.27 GB, free: 9.078 MB / 0.6355 GB