Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 2.061/2.061, allocations: 297.4 MB / 312.6 MB, free: 2.906 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.001038/0.001038, allocations: 190 kB / 382.3 MB, free: 14.82 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.468/1.468, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0009175/0.0009179, allocations: 99.12 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003646, allocations: 12 kB / 0.9058 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6393/0.6396, allocations: 119.2 MB / 1.022 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005725/0.6454, allocations: 3.552 MB / 1.026 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.6487, allocations: 1.332 MB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.6491, allocations: 18.84 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.6494, allocations: 94.91 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.6498, allocations: 153.7 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.6507, allocations: 379.4 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009281/0.6517, allocations: 0.8787 MB / 1.029 GB, free: 54.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000622/0.6523, allocations: 415.7 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.6527, allocations: 241.5 kB / 1.029 GB, free: 53.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.653, allocations: 250.1 kB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.6531, allocations: 23.5 kB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.6532, allocations: 22.91 kB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.6533, allocations: 105.7 kB / 1.03 GB, free: 53.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.6537, allocations: 329.5 kB / 1.03 GB, free: 53.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.6549, allocations: 0.959 MB / 1.031 GB, free: 53.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6549, allocations: 0 / 1.031 GB, free: 53.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6549, allocations: 0 / 1.031 GB, free: 53.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.6549, allocations: 3.875 kB / 1.031 GB, free: 53.09 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.00202/0.657, allocations: 0.9494 MB / 1.032 GB, free: 52.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.657, allocations: 8.125 kB / 1.032 GB, free: 52.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.6572, allocations: 85.72 kB / 1.032 GB, free: 52.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.6579, allocations: 0.5583 MB / 1.032 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.658, allocations: 46.25 kB / 1.032 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.6581, allocations: 53.12 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.6593, allocations: 0.616 MB / 1.033 GB, free: 51.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.6594, allocations: 0 / 1.033 GB, free: 51.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.6594, allocations: 30.03 kB / 1.033 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.6594, allocations: 13.56 kB / 1.033 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.6606, allocations: 468 kB / 1.034 GB, free: 51.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.6633, allocations: 2.026 MB / 1.035 GB, free: 50.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.6641, allocations: 454 kB / 1.036 GB, free: 50.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.6645, allocations: 239 kB / 1.036 GB, free: 49.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.6645, allocations: 5.188 kB / 1.036 GB, free: 49.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005592/0.6651, allocations: 268 kB / 1.036 GB, free: 49.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 2.795e-06/0.6651, allocations: 3.5 kB / 1.036 GB, free: 49.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.001187/0.6663, allocations: 0.5945 MB / 1.037 GB, free: 49.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.6664, allocations: 58.64 kB / 1.037 GB, free: 49.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.6668, allocations: 441.4 kB / 1.037 GB, free: 49.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.6669, allocations: 37.52 kB / 1.038 GB, free: 49.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.667, allocations: 327.8 kB / 1.038 GB, free: 48.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6672, allocations: 162.5 kB / 1.038 GB, free: 48.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.6672, allocations: 15.25 kB / 1.038 GB, free: 48.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.6673, allocations: 365.1 kB / 1.038 GB, free: 48.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.6676, allocations: 169.8 kB / 1.039 GB, free: 48.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.668, allocations: 250.1 kB / 1.039 GB, free: 48.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.6688, allocations: 463.1 kB / 1.039 GB, free: 48.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6688, allocations: 0 / 1.039 GB, free: 48.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009638/0.6698, allocations: 0.5692 MB / 1.04 GB, free: 47.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.6698, allocations: 41.12 kB / 1.04 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.6698, allocations: 3.438 kB / 1.04 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.6699, allocations: 4.797 kB / 1.04 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.6703, allocations: 115.6 kB / 1.04 GB, free: 47.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.6704, allocations: 8.094 kB / 1.04 GB, free: 47.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.6707, allocations: 69.06 kB / 1.04 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.6708, allocations: 19.73 kB / 1.04 GB, free: 47.66 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.0002378/0.671, allocations: 211.5 kB / 1.04 GB, free: 47.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.6711, allocations: 57.34 kB / 1.04 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.6712, allocations: 68.97 kB / 1.04 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6712, allocations: 11.81 kB / 1.04 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.6712, allocations: 0.6094 kB / 1.04 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6712, allocations: 2.438 kB / 1.04 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.6728, allocations: 1.193 MB / 1.041 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6728, allocations: 0 / 1.041 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.6733, allocations: 91.33 kB / 1.042 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6733, allocations: 3.75 kB / 1.042 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.6733, allocations: 13.94 kB / 1.042 GB, free: 46.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6733, allocations: 2.594 kB / 1.042 GB, free: 46.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6734, allocations: 4 kB / 1.042 GB, free: 46.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.6745, allocations: 0.7758 MB / 1.042 GB, free: 46.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.6747, allocations: 172.7 kB / 1.043 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.6747, allocations: 11.52 kB / 1.043 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.675, allocations: 32.53 kB / 1.043 GB, free: 46.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6751, allocations: 41.28 kB / 1.043 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.6752, allocations: 8.5 kB / 1.043 GB, free: 46.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003291/0.6755, allocations: 305.1 kB / 1.043 GB, free: 45.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6755, allocations: 0 / 1.043 GB, free: 45.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004332/0.6759, allocations: 141 kB / 1.043 GB, free: 45.93 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.0001353/0.6761, allocations: 120.1 kB / 1.043 GB, free: 45.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008687/0.677, allocations: 494.1 kB / 1.044 GB, free: 45.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.677, allocations: 0 / 1.044 GB, free: 45.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.6774, allocations: 225.2 kB / 1.044 GB, free: 45.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.6781, allocations: 147.2 kB / 1.044 GB, free: 45.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.6807, allocations: 1.692 MB / 1.046 GB, free: 44.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.681, allocations: 0.8909 MB / 1.047 GB, free: 43.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002941/0.6813, allocations: 59.88 kB / 1.047 GB, free: 43.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.6814, allocations: 48.45 kB / 1.047 GB, free: 43.7 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.6814, allocations: 0 / 1.047 GB, free: 43.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01085/0.6923, allocations: 5.534 MB / 1.052 GB, free: 43.35 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)