Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.785/1.785, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001065/0.001065, allocations: 175.5 kB / 393.1 MB, free: 4.074 MB / 314.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 1.562/1.562, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007952/0.0007952, allocations: 95.53 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003867, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6788, allocations: 121.3 MB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004155/0.683, allocations: 3.549 MB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.6853, allocations: 1.328 MB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.6857, allocations: 22.38 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.686, allocations: 93.8 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.6863, allocations: 145.5 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.687, allocations: 386.6 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006712/0.6877, allocations: 0.8762 MB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.6883, allocations: 415.9 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.6885, allocations: 238.7 kB / 1.048 GB, free: 53.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.6887, allocations: 251.1 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.6888, allocations: 25.81 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.6889, allocations: 22.31 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/0.689, allocations: 99.77 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.6892, allocations: 329.6 kB / 1.048 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007107/0.6899, allocations: 0.9607 MB / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6899, allocations: 1.75 kB / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.69, allocations: 0.6562 kB / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.69, allocations: 0 / 1.049 GB, free: 52.76 MB / 0.698 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.001378/0.6914, allocations: 0.9494 MB / 1.05 GB, free: 52.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6914, allocations: 9.156 kB / 1.05 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.6915, allocations: 91.47 kB / 1.05 GB, free: 52.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.6922, allocations: 0.5518 MB / 1.051 GB, free: 51.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.6923, allocations: 45.38 kB / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.6923, allocations: 55.56 kB / 1.051 GB, free: 51.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.6934, allocations: 0.6116 MB / 1.052 GB, free: 51.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.6934, allocations: 6.719 kB / 1.052 GB, free: 51.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.6935, allocations: 28.56 kB / 1.052 GB, free: 51.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.6935, allocations: 13.91 kB / 1.052 GB, free: 51.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.6944, allocations: 463.3 kB / 1.052 GB, free: 51.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.697, allocations: 2.023 MB / 1.054 GB, free: 49.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/0.698, allocations: 463.9 kB / 1.055 GB, free: 49.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.6985, allocations: 250.3 kB / 1.055 GB, free: 49.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.6986, allocations: 5.406 kB / 1.055 GB, free: 49.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007617/0.6993, allocations: 265.6 kB / 1.055 GB, free: 49.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 2.895e-06/0.6993, allocations: 5.312 kB / 1.055 GB, free: 49.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.001414/0.7008, allocations: 0.5925 MB / 1.056 GB, free: 49.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.7008, allocations: 64.44 kB / 1.056 GB, free: 49.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.7015, allocations: 442.5 kB / 1.056 GB, free: 48.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.7015, allocations: 36.7 kB / 1.056 GB, free: 48.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.7017, allocations: 323.6 kB / 1.056 GB, free: 48.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.7019, allocations: 164.2 kB / 1.057 GB, free: 48.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.7019, allocations: 11.38 kB / 1.057 GB, free: 48.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.7021, allocations: 364.5 kB / 1.057 GB, free: 48.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.7025, allocations: 173.2 kB / 1.057 GB, free: 48.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.7029, allocations: 252.9 kB / 1.057 GB, free: 47.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.7037, allocations: 456.2 kB / 1.058 GB, free: 47.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.7037, allocations: 1.094 kB / 1.058 GB, free: 47.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009942/0.7047, allocations: 0.5709 MB / 1.058 GB, free: 47.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.7048, allocations: 43.61 kB / 1.058 GB, free: 47.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7048, allocations: 4.578 kB / 1.058 GB, free: 47.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.7048, allocations: 5.969 kB / 1.058 GB, free: 47.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.7053, allocations: 112.8 kB / 1.058 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.7053, allocations: 7.281 kB / 1.059 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.7057, allocations: 70.89 kB / 1.059 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.7057, allocations: 17.27 kB / 1.059 GB, free: 47.32 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.7059, allocations: 209.1 kB / 1.059 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.706, allocations: 58 kB / 1.059 GB, free: 47.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.7061, allocations: 67.62 kB / 1.059 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.7061, allocations: 7.906 kB / 1.059 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7061, allocations: 4 kB / 1.059 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.7062, allocations: 3.094 kB / 1.059 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.7077, allocations: 1.192 MB / 1.06 GB, free: 46.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7077, allocations: 0 / 1.06 GB, free: 46.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.7081, allocations: 93.36 kB / 1.06 GB, free: 46.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.7082, allocations: 2.594 kB / 1.06 GB, free: 46.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.7082, allocations: 13.78 kB / 1.06 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.7082, allocations: 2.438 kB / 1.06 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7082, allocations: 0 / 1.06 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.7093, allocations: 0.7797 MB / 1.061 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.7095, allocations: 175.4 kB / 1.061 GB, free: 45.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.7095, allocations: 11.22 kB / 1.061 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.7098, allocations: 30.08 kB / 1.061 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.7099, allocations: 40.17 kB / 1.061 GB, free: 45.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.71, allocations: 17.28 kB / 1.061 GB, free: 45.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002709/0.7102, allocations: 301.6 kB / 1.062 GB, free: 45.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7102, allocations: 6.781 kB / 1.062 GB, free: 45.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003767/0.7106, allocations: 141.2 kB / 1.062 GB, free: 45.58 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.7108, allocations: 119.9 kB / 1.062 GB, free: 45.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008109/0.7116, allocations: 493.2 kB / 1.062 GB, free: 45.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7116, allocations: 0 / 1.062 GB, free: 45.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.712, allocations: 215.7 kB / 1.062 GB, free: 45.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.7127, allocations: 143.8 kB / 1.063 GB, free: 45.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.7151, allocations: 1.695 MB / 1.064 GB, free: 44.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7155, allocations: 0.8895 MB / 1.065 GB, free: 43.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000266/0.7157, allocations: 65.78 kB / 1.065 GB, free: 43.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.7159, allocations: 40.95 kB / 1.065 GB, free: 43.36 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.7159, allocations: 3.938 kB / 1.065 GB, free: 43.36 MB / 0.698 GB Notification: Performance of Templates: time 0.009686/0.7256, allocations: 5.529 MB / 1.071 GB, free: 42.98 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)