Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.507/2.507, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 204.5 kB / 329.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.472/2.472, allocations: 225.6 MB / 0.6001 GB, free: 424 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009605, allocations: 102.1 kB / 0.7074 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005433, allocations: 10.41 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00484/0.2303, allocations: 3.537 MB / 0.9342 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.2335, allocations: 1.247 MB / 0.9354 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.2342, allocations: 23.88 kB / 0.9354 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.2346, allocations: 91.2 kB / 0.9355 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.2351, allocations: 138.8 kB / 0.9357 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2362, allocations: 275.6 kB / 0.9359 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.2373, allocations: 0.85 MB / 0.9368 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007054/0.238, allocations: 383.5 kB / 0.9371 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.2384, allocations: 234.8 kB / 0.9373 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.2388, allocations: 242.6 kB / 0.9376 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.2389, allocations: 20 kB / 0.9376 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.239, allocations: 24 kB / 0.9376 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.2391, allocations: 99.47 kB / 0.9377 GB, free: 17.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2392, allocations: 153.3 kB / 0.9379 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.2401, allocations: 0.8105 MB / 0.9387 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2401, allocations: 0 / 0.9387 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2401, allocations: 0 / 0.9387 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.2401, allocations: 0 / 0.9387 GB, free: 16.71 MB / 0.5886 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.002309/0.2425, allocations: 0.9602 MB / 0.9396 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2425, allocations: 12.03 kB / 0.9396 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.2427, allocations: 84 kB / 0.9397 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.2438, allocations: 0.5343 MB / 0.9402 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.2439, allocations: 45.62 kB / 0.9402 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.244, allocations: 64.28 kB / 0.9403 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.2456, allocations: 0.6078 MB / 0.9409 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.2457, allocations: 7.984 kB / 0.9409 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.2458, allocations: 20 kB / 0.9409 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.2458, allocations: 12 kB / 0.9409 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.2473, allocations: 473 kB / 0.9414 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.2512, allocations: 2.02 MB / 0.9434 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2527, allocations: 453 kB / 0.9438 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.2534, allocations: 251.1 kB / 0.944 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.2535, allocations: 4.438 kB / 0.944 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000794/0.2543, allocations: 265.3 kB / 0.9443 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 3.256e-06/0.2543, allocations: 0 / 0.9443 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.001971/0.2563, allocations: 0.5961 MB / 0.9449 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2563, allocations: 59.78 kB / 0.9449 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/0.257, allocations: 446.6 kB / 0.9454 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.2571, allocations: 33.7 kB / 0.9454 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.2573, allocations: 324.3 kB / 0.9457 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.2575, allocations: 165.6 kB / 0.9459 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.2575, allocations: 12 kB / 0.9459 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2577, allocations: 366.8 kB / 0.9462 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.2583, allocations: 165 kB / 0.9464 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.2589, allocations: 253.8 kB / 0.9466 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.2596, allocations: 227.8 kB / 0.9468 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.2596, allocations: 4 kB / 0.9468 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001641/0.2613, allocations: 0.5624 MB / 0.9474 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.2614, allocations: 37.64 kB / 0.9474 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2614, allocations: 4.188 kB / 0.9474 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.2614, allocations: 12 kB / 0.9474 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.2623, allocations: 115.8 kB / 0.9476 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.2623, allocations: 7.984 kB / 0.9476 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.263, allocations: 67.47 kB / 0.9476 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.2631, allocations: 20 kB / 0.9476 GB, free: 7.184 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,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 (65): * Single equations (assignments): 64 * 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.0003682/0.2634, allocations: 213.6 kB / 0.9478 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2635, allocations: 59.28 kB / 0.9479 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.2637, allocations: 69.56 kB / 0.948 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2637, allocations: 4 kB / 0.948 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2637, allocations: 0 / 0.948 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.2638, allocations: 4 kB / 0.948 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.2662, allocations: 1.189 MB / 0.9491 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.2662, allocations: 0 / 0.9491 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009041/0.2671, allocations: 99.83 kB / 0.9492 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.2672, allocations: 0 / 0.9492 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.2672, allocations: 15.98 kB / 0.9492 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.2672, allocations: 4 kB / 0.9493 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2672, allocations: 0 / 0.9493 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.2693, allocations: 0.7681 MB / 0.95 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.2696, allocations: 172.3 kB / 0.9502 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2697, allocations: 16 kB / 0.9502 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.2703, allocations: 31.97 kB / 0.9502 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2704, allocations: 32.39 kB / 0.9502 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.2704, allocations: 15.98 kB / 0.9503 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004425/0.2709, allocations: 302.9 kB / 0.9505 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2709, allocations: 0 / 0.9505 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005979/0.2715, allocations: 147.5 kB / 0.9507 GB, free: 3.969 MB / 0.5886 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.trigger.y,$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 (49): * Single equations (assignments): 47 * 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.000151/0.2717, allocations: 127.6 kB / 0.9508 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.2731, allocations: 489.5 kB / 0.9513 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2731, allocations: 0 / 0.9513 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.2738, allocations: 222.3 kB / 0.9515 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.2751, allocations: 147.5 kB / 0.9516 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.2794, allocations: 1.622 MB / 0.9532 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.2799, allocations: 0.89 MB / 0.9541 GB, free: 420 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.2804, allocations: 68.58 kB / 0.9541 GB, free: 348 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.2806, allocations: 35.44 kB / 0.9542 GB, free: 312 kB / 0.5886 GB Notification: Performance of SimCode: time 1.533e-06/0.2806, allocations: 0 / 0.9542 GB, free: 312 kB / 0.5886 GB Notification: Performance of Templates: time 0.01917/0.2998, allocations: 5.37 MB / 0.9594 GB, free: 10.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)