Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadModel(Buildings): time 3.756/3.756, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.086e-05, allocations: 7.75 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1783, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.383, allocations: 132.2 MB / 0.7638 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.3833, allocations: 71.97 kB / 0.7639 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02945/0.4128, allocations: 7.593 MB / 0.7713 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.019e-06/0.4129, allocations: 0 / 0.7713 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.196e-05/0.4129, allocations: 8.188 kB / 0.7713 GB, free: 5.824 MB / 0.6511 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.001185/0.4141, allocations: 0.6443 MB / 0.7719 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4142, allocations: 8.031 kB / 0.772 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.4143, allocations: 59.3 kB / 0.772 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.415, allocations: 392.3 kB / 0.7724 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.4151, allocations: 32.78 kB / 0.7724 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.4152, allocations: 40 kB / 0.7725 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.4161, allocations: 391.2 kB / 0.7728 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4161, allocations: 0 / 0.7728 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.4162, allocations: 16 kB / 0.7728 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.4162, allocations: 12 kB / 0.7729 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.4169, allocations: 255 kB / 0.7731 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.4195, allocations: 1.378 MB / 0.7744 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.4203, allocations: 312.7 kB / 0.7747 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.4206, allocations: 132.8 kB / 0.7749 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.4207, allocations: 0 / 0.7749 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.4211, allocations: 178.7 kB / 0.775 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.285e-06/0.4211, allocations: 0 / 0.775 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0007069/0.4218, allocations: 286.6 kB / 0.7753 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4219, allocations: 136.5 kB / 0.7754 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.4225, allocations: 311.6 kB / 0.7757 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.4225, allocations: 37.7 kB / 0.7758 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.4228, allocations: 236.1 kB / 0.776 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.4229, allocations: 98.55 kB / 0.7761 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.4229, allocations: 8 kB / 0.7761 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4232, allocations: 354.8 kB / 0.7764 GB, free: 304 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.4234, allocations: 99.94 kB / 0.7765 GB, free: 204 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.4238, allocations: 167.1 kB / 0.7767 GB, free: 12 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4609/0.8847, allocations: 103.6 kB / 0.7768 GB, free: 137 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.034e-06/0.8847, allocations: 0.75 kB / 0.7768 GB, free: 137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00083/0.8855, allocations: 321.6 kB / 0.7771 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.8857, allocations: 459 kB / 0.7775 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.07e-06/0.8857, allocations: 1.062 kB / 0.7775 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.8857, allocations: 3.188 kB / 0.7775 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.8861, allocations: 68.56 kB / 0.7776 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8862, allocations: 4.156 kB / 0.7776 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.8865, allocations: 48.92 kB / 0.7777 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.8866, allocations: 15.7 kB / 0.7777 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.8866, allocations: 3.469 kB / 0.7777 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005795/0.8872, allocations: 255 kB / 0.7779 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.276e-06/0.8872, allocations: 1.828 kB / 0.7779 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.33e-06/0.8872, allocations: 2.531 kB / 0.7779 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.8875, allocations: 61.98 kB / 0.778 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.776e-06/0.8876, allocations: 11.08 kB / 0.778 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.8878, allocations: 40.45 kB / 0.778 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.8879, allocations: 8.562 kB / 0.778 GB, free: 136.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001216/0.888, allocations: 128.4 kB / 0.7782 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.8881, allocations: 44.81 kB / 0.7782 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.8883, allocations: 44.78 kB / 0.7782 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.866e-06/0.8883, allocations: 4.094 kB / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8883, allocations: 3.953 kB / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.232e-06/0.8883, allocations: 2.641 kB / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.8897, allocations: 0.8262 MB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-06/0.8898, allocations: 0 / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.8901, allocations: 57.12 kB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.535e-06/0.8902, allocations: 1.875 kB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.8902, allocations: 13.72 kB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.426e-06/0.8902, allocations: 1.719 kB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.917e-06/0.8902, allocations: 3.281 kB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.8912, allocations: 0.5042 MB / 0.7796 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.8913, allocations: 143.8 kB / 0.7798 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.8914, allocations: 11.38 kB / 0.7798 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.8917, allocations: 30.7 kB / 0.7798 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.8919, allocations: 29.39 kB / 0.7798 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.8919, allocations: 10.77 kB / 0.7798 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003383/0.8922, allocations: 243.6 kB / 0.7801 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.56e-07/0.8923, allocations: 0.9688 kB / 0.7801 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007106/0.893, allocations: 152.5 kB / 0.7802 GB, free: 135.7 MB / 0.6511 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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.0001768/0.8932, allocations: 130.7 kB / 0.7804 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009047/0.8941, allocations: 409.8 kB / 0.7807 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.112e-06/0.8941, allocations: 3.719 kB / 0.7807 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.8944, allocations: 132.6 kB / 0.7809 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.895, allocations: 67.61 kB / 0.7809 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.8967, allocations: 0.5761 MB / 0.7815 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.8971, allocations: 0.8265 MB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004491/0.8976, allocations: 67.22 kB / 0.7824 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.8977, allocations: 32.2 kB / 0.7824 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.521e-06/0.8977, allocations: 3.5 kB / 0.7824 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.0135/0.9112, allocations: 4.478 MB / 0.7868 GB, free: 134.4 MB / 0.6511 GB