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.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.479/1.479, allocations: 291.7 MB / 306.8 MB, free: 7.645 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.001039/0.001039, allocations: 189.5 kB / 375.4 MB, free: 5.086 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.247/1.247, allocations: 225.7 MB / 0.6538 GB, free: 13.57 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.0007833/0.0007834, allocations: 100 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.5788, allocations: 118.1 MB / 1.011 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002764/0.5816, allocations: 2.667 MB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.583, allocations: 0.9004 MB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.5832, allocations: 12.16 kB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.5834, allocations: 53.72 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.5835, allocations: 62.14 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.5839, allocations: 165.1 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.5843, allocations: 0.4925 MB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.5847, allocations: 233.6 kB / 1.015 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.5848, allocations: 142.3 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.585, allocations: 150.3 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.585, allocations: 11.56 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.5851, allocations: 13.97 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.5851, allocations: 61.05 kB / 1.016 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.5852, allocations: 101.6 kB / 1.016 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.5855, allocations: 426.8 kB / 1.016 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5855, allocations: 0 / 1.016 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5855, allocations: 0 / 1.016 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5855, allocations: 0 / 1.016 GB, free: 56.52 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008744/0.5864, allocations: 0.6938 MB / 1.017 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5864, allocations: 11.06 kB / 1.017 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.5865, allocations: 56.19 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.587, allocations: 409.3 kB / 1.017 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.587, allocations: 30.44 kB / 1.017 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.5871, allocations: 37.69 kB / 1.017 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.5876, allocations: 403.1 kB / 1.018 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5877, allocations: 0 / 1.018 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.5877, allocations: 14.62 kB / 1.018 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5877, allocations: 11.97 kB / 1.018 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.5882, allocations: 266.9 kB / 1.018 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.5896, allocations: 1.326 MB / 1.019 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.5902, allocations: 309 kB / 1.02 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.5904, allocations: 143.5 kB / 1.02 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.5904, allocations: 4.875 kB / 1.02 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.5907, allocations: 176.8 kB / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.5908, allocations: 0 / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0006891/0.5915, allocations: 385.9 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.5915, allocations: 84.2 kB / 1.02 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.5918, allocations: 346.2 kB / 1.021 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.5918, allocations: 39.88 kB / 1.021 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5919, allocations: 232.6 kB / 1.021 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.592, allocations: 105.2 kB / 1.021 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.592, allocations: 10.53 kB / 1.021 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.5921, allocations: 355.8 kB / 1.021 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5923, allocations: 95.88 kB / 1.022 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.5925, allocations: 172.2 kB / 1.022 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.5929, allocations: 261.6 kB / 1.022 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.593, allocations: 4.438 kB / 1.022 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005284/0.5935, allocations: 358 kB / 1.022 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5935, allocations: 9.688 kB / 1.022 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5935, allocations: 2.969 kB / 1.022 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5936, allocations: 2.938 kB / 1.022 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.5938, allocations: 69.14 kB / 1.022 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5938, allocations: 5.484 kB / 1.022 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.594, allocations: 39.45 kB / 1.022 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.594, allocations: 13.19 kB / 1.022 GB, free: 53.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0001642/0.5942, allocations: 191.3 kB / 1.023 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.5943, allocations: 37.34 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.5943, allocations: 40.94 kB / 1.023 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.5944, allocations: 2.906 kB / 1.023 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5944, allocations: 2.125 kB / 1.023 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5944, allocations: 5.109 kB / 1.023 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000904/0.5953, allocations: 0.8142 MB / 1.024 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5953, allocations: 0.8438 kB / 1.024 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.5955, allocations: 47.77 kB / 1.024 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5955, allocations: 2.844 kB / 1.024 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.5956, allocations: 3.938 kB / 1.024 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5956, allocations: 3.094 kB / 1.024 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5956, allocations: 4 kB / 1.024 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/0.5963, allocations: 0.515 MB / 1.024 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.5964, allocations: 137.3 kB / 1.024 GB, free: 53.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.5964, allocations: 6.094 kB / 1.024 GB, free: 53.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.5966, allocations: 29.62 kB / 1.024 GB, free: 53.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.5967, allocations: 24.86 kB / 1.024 GB, free: 53.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.5967, allocations: 9.094 kB / 1.024 GB, free: 53.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001887/0.5969, allocations: 241.2 kB / 1.025 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5969, allocations: 0 / 1.025 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003113/0.5972, allocations: 89.31 kB / 1.025 GB, free: 52.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001043/0.5973, allocations: 126.9 kB / 1.025 GB, free: 52.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.5978, allocations: 270.4 kB / 1.025 GB, free: 52.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5978, allocations: 0 / 1.025 GB, free: 52.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.598, allocations: 137.8 kB / 1.025 GB, free: 52.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.5985, allocations: 77.36 kB / 1.025 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.5997, allocations: 0.9668 MB / 1.026 GB, free: 52.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.5999, allocations: 0.8201 MB / 1.027 GB, free: 51.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.6001, allocations: 43.67 kB / 1.027 GB, free: 51.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.6002, allocations: 32.89 kB / 1.027 GB, free: 51.56 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6002, allocations: 0 / 1.027 GB, free: 51.56 MB / 0.7136 GB Notification: Performance of Templates: time 0.005991/0.6062, allocations: 3.247 MB / 1.03 GB, free: 51.42 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)