Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") 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 1.852/1.852, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001035/0.001035, allocations: 186 kB / 382.3 MB, free: 14.84 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.462/1.462, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0008061/0.0008061, allocations: 96.67 kB / 0.7789 GB, free: 46.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 8 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5528, allocations: 119.2 MB / 1.022 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002977/0.5558, allocations: 2.668 MB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.5573, allocations: 0.9126 MB / 1.026 GB, free: 55.37 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.5576, allocations: 13.75 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.5578, allocations: 54.19 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.558, allocations: 71.14 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.5585, allocations: 223.9 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.559, allocations: 0.505 MB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.5593, allocations: 228.4 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.5595, allocations: 155.8 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.5597, allocations: 153.2 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.5598, allocations: 11.88 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.5598, allocations: 14.47 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.5599, allocations: 65.52 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.5601, allocations: 215.1 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.5604, allocations: 0.5052 MB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5605, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5605, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5605, allocations: 0 / 1.028 GB, free: 54.26 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.000892/0.5614, allocations: 0.6918 MB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.5614, allocations: 12.38 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.5615, allocations: 53.19 kB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.5619, allocations: 404.9 kB / 1.029 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.562, allocations: 29.25 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.562, allocations: 38.69 kB / 1.029 GB, free: 53.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.5626, allocations: 400.1 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5627, allocations: 0 / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.5627, allocations: 15.41 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.5627, allocations: 9.219 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.5632, allocations: 270.1 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.5649, allocations: 1.328 MB / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.5655, allocations: 314.5 kB / 1.031 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.5658, allocations: 144.7 kB / 1.031 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.5658, allocations: 3.125 kB / 1.031 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.5662, allocations: 182.9 kB / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.5662, allocations: 0 / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0007255/0.5669, allocations: 380.8 kB / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5669, allocations: 84.78 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.5673, allocations: 353.6 kB / 1.032 GB, free: 51.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.5673, allocations: 37.61 kB / 1.032 GB, free: 51.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.5675, allocations: 233.1 kB / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.5675, allocations: 108.1 kB / 1.033 GB, free: 51.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.5676, allocations: 6.719 kB / 1.033 GB, free: 51.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5677, allocations: 349.3 kB / 1.033 GB, free: 50.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.5679, allocations: 106.1 kB / 1.033 GB, free: 50.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.5681, allocations: 168.2 kB / 1.033 GB, free: 50.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.5686, allocations: 266.2 kB / 1.034 GB, free: 50.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5686, allocations: 3.938 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005115/0.5691, allocations: 358.4 kB / 1.034 GB, free: 50.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5691, allocations: 3.062 kB / 1.034 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5691, allocations: 4.312 kB / 1.034 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.5691, allocations: 8.766 kB / 1.034 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.5694, allocations: 61.52 kB / 1.034 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5694, allocations: 7.094 kB / 1.034 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.5696, allocations: 46.27 kB / 1.034 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.5696, allocations: 10.5 kB / 1.034 GB, free: 50.18 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.5698, allocations: 180.5 kB / 1.034 GB, free: 50.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.5698, allocations: 39.28 kB / 1.034 GB, free: 50 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.5699, allocations: 47.66 kB / 1.034 GB, free: 49.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5699, allocations: 3.594 kB / 1.034 GB, free: 49.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5699, allocations: 2.062 kB / 1.034 GB, free: 49.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.57, allocations: 0 / 1.034 GB, free: 49.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.5709, allocations: 0.8151 MB / 1.035 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5709, allocations: 6.188 kB / 1.035 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.5711, allocations: 42.89 kB / 1.035 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5712, allocations: 1.812 kB / 1.035 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.5712, allocations: 8.188 kB / 1.035 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5712, allocations: 3.938 kB / 1.035 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5712, allocations: 0 / 1.035 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.5719, allocations: 0.5181 MB / 1.036 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.572, allocations: 136.6 kB / 1.036 GB, free: 49.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.572, allocations: 8.812 kB / 1.036 GB, free: 49.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.5722, allocations: 23.48 kB / 1.036 GB, free: 49.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.5723, allocations: 25.61 kB / 1.036 GB, free: 49.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.5723, allocations: 14.52 kB / 1.036 GB, free: 49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001918/0.5725, allocations: 238.6 kB / 1.036 GB, free: 48.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5725, allocations: 1.219 kB / 1.036 GB, free: 48.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002981/0.5728, allocations: 94.5 kB / 1.036 GB, free: 48.85 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.423e-05/0.5729, allocations: 117.1 kB / 1.036 GB, free: 48.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.5734, allocations: 270.3 kB / 1.037 GB, free: 48.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5734, allocations: 0 / 1.037 GB, free: 48.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.5737, allocations: 134.6 kB / 1.037 GB, free: 48.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.5741, allocations: 77.89 kB / 1.037 GB, free: 48.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5753, allocations: 1.024 MB / 1.038 GB, free: 47.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5755, allocations: 0.8159 MB / 1.039 GB, free: 47.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.5757, allocations: 41.61 kB / 1.039 GB, free: 47.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.5758, allocations: 30.61 kB / 1.039 GB, free: 47.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.5758, allocations: 4 kB / 1.039 GB, free: 47.22 MB / 0.698 GB Notification: Performance of Templates: time 0.006437/0.5823, allocations: 3.356 MB / 1.042 GB, free: 47.01 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)