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.00905/0.00905, allocations: 110.4 kB / 15.05 MB, free: 5.945 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.001067/0.001067, allocations: 182.4 kB / 15.94 MB, free: 5.898 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 1.793/1.793, allocations: 194.6 MB / 211.3 MB, free: 11.29 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.198/2.198, allocations: 236.2 MB / 492.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 8 kB / 0.5869 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/0.577, allocations: 98.71 MB / 0.6833 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.8082, allocations: 131.4 MB / 0.8116 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004418/0.8087, allocations: 79.95 kB / 0.8117 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04877/0.8575, allocations: 12.65 MB / 0.824 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8576, allocations: 0 / 0.824 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.049e-05/0.8577, allocations: 19.98 kB / 0.8241 GB, free: 14.04 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.002018/0.8597, allocations: 0.954 MB / 0.825 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8597, allocations: 8.25 kB / 0.825 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.86, allocations: 83.05 kB / 0.8251 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.861, allocations: 0.5367 MB / 0.8256 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.8611, allocations: 45.31 kB / 0.8256 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.8613, allocations: 63.98 kB / 0.8257 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.8629, allocations: 0.66 MB / 0.8263 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.863, allocations: 0 / 0.8263 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.8631, allocations: 31.95 kB / 0.8264 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.8631, allocations: 12 kB / 0.8264 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.8647, allocations: 0.5165 MB / 0.8269 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004421/0.8691, allocations: 2.103 MB / 0.8289 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.8706, allocations: 0.5368 MB / 0.8295 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.8707, allocations: 8.438 kB / 0.8295 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008335/0.8716, allocations: 297.3 kB / 0.8298 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 6.781e-06/0.8716, allocations: 0 / 0.8298 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.002066/0.8737, allocations: 0.7093 MB / 0.8305 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.8738, allocations: 158.7 kB / 0.8306 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/0.8745, allocations: 405.8 kB / 0.831 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.8746, allocations: 37.7 kB / 0.831 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.8749, allocations: 316.4 kB / 0.8313 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.8751, allocations: 173.5 kB / 0.8315 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.8752, allocations: 16 kB / 0.8315 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.8754, allocations: 362.8 kB / 0.8319 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.8761, allocations: 205 kB / 0.8321 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.8768, allocations: 319.4 kB / 0.8324 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.8775, allocations: 251.8 kB / 0.8326 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8776, allocations: 0 / 0.8326 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001738/0.8793, allocations: 0.6366 MB / 0.8332 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004056/0.8797, allocations: 0.6396 MB / 0.8338 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.8798, allocations: 0 / 0.8338 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8798, allocations: 4 kB / 0.8338 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.8805, allocations: 127.8 kB / 0.834 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.8805, allocations: 4 kB / 0.834 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.8811, allocations: 83.55 kB / 0.8341 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.8812, allocations: 16 kB / 0.8341 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.8812, allocations: 4 kB / 0.8341 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/0.8826, allocations: 0.4951 MB / 0.8346 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.8826, allocations: 7.953 kB / 0.8346 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.8826, allocations: 4 kB / 0.8346 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.8832, allocations: 107.8 kB / 0.8347 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.8832, allocations: 4 kB / 0.8347 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.8838, allocations: 67.69 kB / 0.8347 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.8839, allocations: 23.98 kB / 0.8348 GB, free: 2.676 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 () * 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.0005239/0.8844, allocations: 281 kB / 0.835 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.8845, allocations: 63.25 kB / 0.8351 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.8847, allocations: 69.53 kB / 0.8352 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.795e-06/0.8847, allocations: 8 kB / 0.8352 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.517e-06/0.8847, allocations: 0 / 0.8352 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.842e-06/0.8848, allocations: 8 kB / 0.8352 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.8876, allocations: 1.314 MB / 0.8365 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.8876, allocations: 3.953 kB / 0.8365 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.8883, allocations: 115.8 kB / 0.8366 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.8884, allocations: 0 / 0.8366 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.8884, allocations: 8 kB / 0.8366 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.886e-06/0.8884, allocations: 7.938 kB / 0.8366 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.272e-06/0.8884, allocations: 0 / 0.8366 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.8907, allocations: 0.889 MB / 0.8375 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.891, allocations: 188.2 kB / 0.8376 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.8911, allocations: 12 kB / 0.8376 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/0.8916, allocations: 51.95 kB / 0.8377 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.8918, allocations: 40.38 kB / 0.8377 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.8918, allocations: 8 kB / 0.8377 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005457/0.8924, allocations: 314.9 kB / 0.838 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.23e-07/0.8924, allocations: 0 / 0.838 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009909/0.8934, allocations: 267.1 kB / 0.8383 GB, free: 14.96 MB / 0.6667 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.0002124/0.8937, allocations: 123.9 kB / 0.8384 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.8959, allocations: 0.8596 MB / 0.8393 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.524e-06/0.8959, allocations: 0 / 0.8393 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.8966, allocations: 262.3 kB / 0.8395 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.8975, allocations: 134.2 kB / 0.8396 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.9018, allocations: 1.84 MB / 0.8414 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.9026, allocations: 0.9062 MB / 0.8423 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005793/0.9032, allocations: 72.52 kB / 0.8424 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.9034, allocations: 35.44 kB / 0.8424 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.5e-06/0.9034, allocations: 0 / 0.8424 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.01903/0.9224, allocations: 6.637 MB / 0.8489 GB, free: 4.09 MB / 0.6667 GB