Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.527/1.527, allocations: 291.7 MB / 306.8 MB, free: 7.676 MB / 234.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.001104/0.001104, allocations: 184.2 kB / 375.4 MB, free: 5.121 MB / 298.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.257/1.257, allocations: 225.7 MB / 0.6538 GB, free: 13.54 MB / 490.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.0007971/0.0007971, allocations: 102.4 kB / 0.7699 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 11.98 kB / 0.8956 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5376, allocations: 118.1 MB / 1.011 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003402/0.5411, allocations: 3.536 MB / 1.014 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.543, allocations: 1.248 MB / 1.016 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.5433, allocations: 29.94 kB / 1.016 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.5435, allocations: 83.39 kB / 1.016 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.5438, allocations: 141.3 kB / 1.016 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.5444, allocations: 285.5 kB / 1.016 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.545, allocations: 0.8439 MB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.5455, allocations: 424.5 kB / 1.017 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.5458, allocations: 221.3 kB / 1.018 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.546, allocations: 244.1 kB / 1.018 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.546, allocations: 21.81 kB / 1.018 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/0.5461, allocations: 25.06 kB / 1.018 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.5462, allocations: 95.78 kB / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.5463, allocations: 155.4 kB / 1.018 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.5468, allocations: 0.8056 MB / 1.019 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5468, allocations: 0 / 1.019 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5468, allocations: 0.7188 kB / 1.019 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5468, allocations: 0 / 1.019 GB, free: 56.82 MB / 0.7136 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.001281/0.5481, allocations: 0.9578 MB / 1.02 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5481, allocations: 9.25 kB / 1.02 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.5482, allocations: 83.05 kB / 1.02 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.5489, allocations: 0.5526 MB / 1.02 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.5489, allocations: 46.53 kB / 1.02 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.549, allocations: 66.88 kB / 1.02 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.5499, allocations: 0.6066 MB / 1.021 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.55, allocations: 1.125 kB / 1.021 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.55, allocations: 28.38 kB / 1.021 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.55, allocations: 15 kB / 1.021 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.5509, allocations: 466.3 kB / 1.022 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.5531, allocations: 2.017 MB / 1.024 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.5539, allocations: 456.4 kB / 1.024 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.5543, allocations: 243.4 kB / 1.024 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.5544, allocations: 5.625 kB / 1.024 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.5549, allocations: 266.8 kB / 1.024 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=49): time 3.246e-06/0.5549, allocations: 3.875 kB / 1.024 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.001088/0.556, allocations: 0.5954 MB / 1.025 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.556, allocations: 62 kB / 1.025 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.5564, allocations: 442.3 kB / 1.026 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.5564, allocations: 32.23 kB / 1.026 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.5566, allocations: 333.8 kB / 1.026 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.5567, allocations: 158.8 kB / 1.026 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.5567, allocations: 10.56 kB / 1.026 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.5568, allocations: 364 kB / 1.026 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.5571, allocations: 167.7 kB / 1.027 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.5575, allocations: 257.8 kB / 1.027 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.5582, allocations: 458 kB / 1.027 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5583, allocations: 1.156 kB / 1.027 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008719/0.5591, allocations: 0.5719 MB / 1.028 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.5592, allocations: 34.86 kB / 1.028 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5592, allocations: 2.688 kB / 1.028 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5592, allocations: 8.062 kB / 1.028 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.5597, allocations: 117 kB / 1.028 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5597, allocations: 6.875 kB / 1.028 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.56, allocations: 74.72 kB / 1.028 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.56, allocations: 19.94 kB / 1.028 GB, free: 53.7 MB / 0.7136 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.000221/0.5603, allocations: 209.8 kB / 1.028 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.5603, allocations: 60.22 kB / 1.028 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.5604, allocations: 63.83 kB / 1.028 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5604, allocations: 4.844 kB / 1.028 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.5605, allocations: 1.031 kB / 1.028 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.5605, allocations: 4.562 kB / 1.028 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.5619, allocations: 1.189 MB / 1.03 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.562, allocations: 0 / 1.03 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.5624, allocations: 94.5 kB / 1.03 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5624, allocations: 5.844 kB / 1.03 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.5624, allocations: 18.22 kB / 1.03 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5624, allocations: 2.969 kB / 1.03 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5624, allocations: 0 / 1.03 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.5636, allocations: 0.7724 MB / 1.03 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.5637, allocations: 174.9 kB / 1.031 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.5638, allocations: 15.45 kB / 1.031 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.5641, allocations: 32.34 kB / 1.031 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.5642, allocations: 37.42 kB / 1.031 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.5642, allocations: 10.66 kB / 1.031 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002755/0.5645, allocations: 304.4 kB / 1.031 GB, free: 52.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5645, allocations: 3.688 kB / 1.031 GB, free: 52.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000375/0.5649, allocations: 143.2 kB / 1.031 GB, free: 52.77 MB / 0.7136 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.0001201/0.565, allocations: 112.5 kB / 1.031 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008847/0.5659, allocations: 495.9 kB / 1.032 GB, free: 52.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5659, allocations: 1.188 kB / 1.032 GB, free: 52.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.5664, allocations: 220.2 kB / 1.032 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.5671, allocations: 138.1 kB / 1.032 GB, free: 52.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.5696, allocations: 1.627 MB / 1.034 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.5699, allocations: 0.8949 MB / 1.034 GB, free: 50.92 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002763/0.5702, allocations: 64.59 kB / 1.035 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5703, allocations: 37.94 kB / 1.035 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.5703, allocations: 0.5625 kB / 1.035 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.009753/0.5801, allocations: 5.357 MB / 1.04 GB, free: 50.66 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)