Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.42/2.42, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 185.1 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.38/2.38, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 93.14 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.0004698, allocations: 14.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.4527, allocations: 132 MB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.4531, allocations: 71.97 kB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.4671, allocations: 2.138 MB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.005e-06/0.4671, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.4672, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00193/0.4691, allocations: 0.4947 MB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.4692, allocations: 8.031 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.4693, allocations: 15.81 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.4695, allocations: 183 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.4696, allocations: 15.94 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.4697, allocations: 12 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.4709, allocations: 185.7 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4709, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.471, allocations: 11.95 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.471, allocations: 4 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.4726, allocations: 175.8 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.4749, allocations: 0.5985 MB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4764, allocations: 219.8 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.4765, allocations: 4 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.4776, allocations: 208.6 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 3.727e-06/0.4776, allocations: 3.938 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.002484/0.4801, allocations: 333.5 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.4803, allocations: 102.9 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.4806, allocations: 151.1 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.4807, allocations: 37.7 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4808, allocations: 120.3 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.4809, allocations: 39.45 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.481, allocations: 4 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4812, allocations: 326.8 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008681/0.4821, allocations: 103.9 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/0.483, allocations: 163 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007594/0.4838, allocations: 99.81 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4838, allocations: 3.953 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001842/0.4856, allocations: 281.5 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4857, allocations: 8 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.4857, allocations: 0 / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.4858, allocations: 4 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.4864, allocations: 43.91 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.4864, allocations: 7.984 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/0.4872, allocations: 67.84 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.4873, allocations: 4 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0002679/0.4876, allocations: 137.8 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.4877, allocations: 19.77 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006909/0.4884, allocations: 106.6 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4884, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.4884, allocations: 4 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4885, allocations: 4 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.4889, allocations: 225.5 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4889, allocations: 0 / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.4894, allocations: 39.92 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.4894, allocations: 7.938 kB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.4895, allocations: 3.984 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.4895, allocations: 4 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4896, allocations: 4 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.4913, allocations: 302.3 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.811e-05/0.4914, allocations: 93.05 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.4915, allocations: 8 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.4922, allocations: 55.89 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.4924, allocations: 51.84 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.4925, allocations: 11.94 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001867/0.4927, allocations: 122.8 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4927, allocations: 0 / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005604/0.4933, allocations: 32 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003063/0.4936, allocations: 111.2 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.4953, allocations: 231.8 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4953, allocations: 1.594 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.4962, allocations: 127.9 kB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.4967, allocations: 23.94 kB / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4979, allocations: 299.1 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.4984, allocations: 0.7166 MB / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.4987, allocations: 17.55 kB / 1.036 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4988, allocations: 23.42 kB / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/0.4988, allocations: 0 / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of Templates: time 0.01047/0.5093, allocations: 2.111 MB / 1.039 GB, free: 1.766 MB / 0.6823 GB