Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.812/1.812, allocations: 292.6 MB / 307.8 MB, free: 7.152 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.0009848/0.0009848, allocations: 189.4 kB / 376.5 MB, free: 4.422 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.47/1.47, allocations: 225.7 MB / 0.655 GB, free: 13.05 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.000863/0.000863, allocations: 102.8 kB / 0.7711 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 12.75 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7907, allocations: 118.2 MB / 1.012 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004167/0.795, allocations: 3.541 MB / 1.016 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.7973, allocations: 1.241 MB / 1.017 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.7977, allocations: 25.72 kB / 1.017 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.798, allocations: 79.61 kB / 1.017 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.7983, allocations: 142.2 kB / 1.017 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.799, allocations: 284 kB / 1.018 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007151/0.7998, allocations: 0.853 MB / 1.018 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.8003, allocations: 417.6 kB / 1.019 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.8006, allocations: 228.2 kB / 1.019 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.8009, allocations: 236.6 kB / 1.019 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.8009, allocations: 25.81 kB / 1.019 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.162e-05/0.801, allocations: 24.38 kB / 1.019 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.8011, allocations: 96.84 kB / 1.019 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.8014, allocations: 314.9 kB / 1.02 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.802, allocations: 0.8043 MB / 1.02 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.8021, allocations: 2.438 kB / 1.02 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8021, allocations: 0 / 1.02 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.8021, allocations: 4.344 kB / 1.02 GB, free: 56.63 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.001417/0.8035, allocations: 0.9538 MB / 1.021 GB, free: 56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.8036, allocations: 7.625 kB / 1.021 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.8037, allocations: 82.59 kB / 1.021 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.8044, allocations: 0.5529 MB / 1.022 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.8044, allocations: 41.84 kB / 1.022 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.8045, allocations: 65.62 kB / 1.022 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.8055, allocations: 0.613 MB / 1.023 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.8056, allocations: 3.094 kB / 1.023 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.8056, allocations: 21.91 kB / 1.023 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.8057, allocations: 14.41 kB / 1.023 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.8066, allocations: 470.4 kB / 1.023 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/0.8091, allocations: 2.018 MB / 1.025 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/0.8099, allocations: 455.3 kB / 1.026 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.8103, allocations: 245.2 kB / 1.026 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.8103, allocations: 11.92 kB / 1.026 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/0.8109, allocations: 263.4 kB / 1.026 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=49): time 3.527e-06/0.8109, allocations: 2.25 kB / 1.026 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.001147/0.812, allocations: 0.5969 MB / 1.027 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.8121, allocations: 65.03 kB / 1.027 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.8125, allocations: 439.2 kB / 1.027 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.8126, allocations: 35.39 kB / 1.027 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.8128, allocations: 331 kB / 1.028 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.8129, allocations: 165.7 kB / 1.028 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.8129, allocations: 9.562 kB / 1.028 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.813, allocations: 363.2 kB / 1.028 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.8134, allocations: 165.3 kB / 1.028 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.8138, allocations: 258.6 kB / 1.028 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.8146, allocations: 462.6 kB / 1.029 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8146, allocations: 0 / 1.029 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009487/0.8155, allocations: 0.5669 MB / 1.029 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.8156, allocations: 35.48 kB / 1.029 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8156, allocations: 3 kB / 1.029 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.8156, allocations: 8.609 kB / 1.029 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.8161, allocations: 116.7 kB / 1.03 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.8161, allocations: 5.625 kB / 1.03 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.8164, allocations: 71.39 kB / 1.03 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.8165, allocations: 17.88 kB / 1.03 GB, free: 53.5 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.0002342/0.8167, allocations: 213.9 kB / 1.03 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.8168, allocations: 62.94 kB / 1.03 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.8169, allocations: 62.92 kB / 1.03 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.8169, allocations: 2.906 kB / 1.03 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8169, allocations: 0 / 1.03 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.817, allocations: 6.391 kB / 1.03 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.8185, allocations: 1.187 MB / 1.031 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.8185, allocations: 0 / 1.031 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.8189, allocations: 98.02 kB / 1.031 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.819, allocations: 5.281 kB / 1.031 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.819, allocations: 15.47 kB / 1.031 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.819, allocations: 4.484 kB / 1.031 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.819, allocations: 2.25 kB / 1.031 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.8202, allocations: 0.7712 MB / 1.032 GB, free: 52.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.8204, allocations: 174.9 kB / 1.032 GB, free: 52.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.8205, allocations: 19.34 kB / 1.032 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.8207, allocations: 35.97 kB / 1.032 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.8209, allocations: 33.22 kB / 1.032 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.8209, allocations: 15.62 kB / 1.032 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003874/0.8213, allocations: 302.3 kB / 1.033 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8213, allocations: 0 / 1.033 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004699/0.8218, allocations: 139.5 kB / 1.033 GB, free: 52.57 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.0001354/0.8219, allocations: 124.7 kB / 1.033 GB, free: 52.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009629/0.8229, allocations: 489.2 kB / 1.033 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8229, allocations: 0.5 kB / 1.033 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.8233, allocations: 223.1 kB / 1.034 GB, free: 52.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.8241, allocations: 142.3 kB / 1.034 GB, free: 52.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.8267, allocations: 1.629 MB / 1.035 GB, free: 51.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.827, allocations: 0.8897 MB / 1.036 GB, free: 50.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003142/0.8274, allocations: 65.61 kB / 1.036 GB, free: 50.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.8275, allocations: 42.56 kB / 1.036 GB, free: 50.55 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/0.8275, allocations: 0 / 1.036 GB, free: 50.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.01097/0.8385, allocations: 5.419 MB / 1.042 GB, free: 50.32 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)