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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01079/0.01079, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001182/0.001181, allocations: 186.3 kB / 15.95 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.933/1.933, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.36/2.36, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004856, allocations: 20 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7856, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2492/1.035, allocations: 131.4 MB / 0.8117 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.035, allocations: 79.95 kB / 0.8118 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05353/1.089, allocations: 12.65 MB / 0.8241 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.825e-06/1.089, allocations: 0 / 0.8241 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.033e-05/1.089, allocations: 20 kB / 0.8242 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.002833/1.092, allocations: 0.9579 MB / 0.8251 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.092, allocations: 12.03 kB / 0.8251 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002722/1.092, allocations: 102.7 kB / 0.8252 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/1.092, allocations: 79.06 kB / 0.8253 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.094, allocations: 0.5406 MB / 0.8258 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/1.094, allocations: 45.3 kB / 0.8258 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.094, allocations: 60 kB / 0.8259 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/1.096, allocations: 0.66 MB / 0.8265 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/1.096, allocations: 7.953 kB / 0.8266 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/1.097, allocations: 28 kB / 0.8266 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/1.097, allocations: 12 kB / 0.8266 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/1.099, allocations: 0.5165 MB / 0.8271 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005535/1.104, allocations: 2.099 MB / 0.8291 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/1.106, allocations: 0.5329 MB / 0.8297 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/1.106, allocations: 12.42 kB / 0.8297 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/1.107, allocations: 297.3 kB / 0.83 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 3.757e-06/1.107, allocations: 0 / 0.83 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.002607/1.11, allocations: 0.7054 MB / 0.8306 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/1.11, allocations: 158.7 kB / 0.8308 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000749/1.111, allocations: 409.8 kB / 0.8312 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/1.111, allocations: 41.64 kB / 0.8312 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/1.111, allocations: 316.4 kB / 0.8315 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/1.112, allocations: 169.5 kB / 0.8317 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/1.112, allocations: 12 kB / 0.8317 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.112, allocations: 362.8 kB / 0.8321 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/1.113, allocations: 209 kB / 0.8323 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/1.114, allocations: 315.4 kB / 0.8326 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/1.114, allocations: 251.8 kB / 0.8328 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.114, allocations: 3.953 kB / 0.8328 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001965/1.116, allocations: 0.6327 MB / 0.8334 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/1.117, allocations: 0.6397 MB / 0.834 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.117, allocations: 4 kB / 0.834 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.117, allocations: 4 kB / 0.834 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/1.118, allocations: 119.9 kB / 0.8342 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.118, allocations: 7.938 kB / 0.8342 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/1.119, allocations: 83.55 kB / 0.8342 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/1.119, allocations: 16 kB / 0.8343 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.119, allocations: 4 kB / 0.8343 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001545/1.12, allocations: 0.4989 MB / 0.8348 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.12, allocations: 4 kB / 0.8348 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/1.12, allocations: 4 kB / 0.8348 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/1.121, allocations: 107.8 kB / 0.8349 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.121, allocations: 4.188 kB / 0.8349 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/1.122, allocations: 67.59 kB / 0.8349 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/1.122, allocations: 23.98 kB / 0.835 GB, free: 2.562 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.0005153/1.122, allocations: 285 kB / 0.8352 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/1.122, allocations: 67.2 kB / 0.8353 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/1.123, allocations: 65.58 kB / 0.8354 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.123, allocations: 4 kB / 0.8354 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.123, allocations: 4 kB / 0.8354 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.123, allocations: 4.031 kB / 0.8354 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1.126, allocations: 1.322 MB / 0.8367 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.126, allocations: 0 / 0.8367 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/1.127, allocations: 115.8 kB / 0.8368 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.127, allocations: 0 / 0.8368 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/1.127, allocations: 12 kB / 0.8368 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.127, allocations: 0 / 0.8368 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.127, allocations: 4 kB / 0.8368 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/1.13, allocations: 0.889 MB / 0.8377 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/1.13, allocations: 188.2 kB / 0.8378 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.13, allocations: 12 kB / 0.8378 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/1.131, allocations: 47.95 kB / 0.8379 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.131, allocations: 48.31 kB / 0.8379 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/1.131, allocations: 12 kB / 0.8379 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005752/1.132, allocations: 314.9 kB / 0.8382 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/1.132, allocations: 0 / 0.8382 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001036/1.133, allocations: 263.1 kB / 0.8385 GB, free: 14.84 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.003175/1.136, allocations: 1.466 MB / 0.8399 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002595/1.139, allocations: 0.8477 MB / 0.8408 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.139, allocations: 0 / 0.8408 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008527/1.14, allocations: 266.7 kB / 0.841 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.141, allocations: 123.3 kB / 0.8411 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.152, allocations: 4.834 MB / 0.8458 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/1.153, allocations: 0.9139 MB / 0.8467 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006172/1.153, allocations: 64.53 kB / 0.8468 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/1.154, allocations: 227.3 kB / 0.847 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/1.154, allocations: 0 / 0.847 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/1.199, allocations: 11.95 MB / 0.8587 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004283/1.199, allocations: 184.4 kB / 0.8589 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/4.344, allocations: 4 kB / 0.8589 GB, free: 9.949 MB / 0.6823 GB