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.32/2.32, allocations: 253.2 MB / 260.6 MB, free: 7.41 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.00215, allocations: 181.4 kB / 319.9 MB, free: 3.109 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.381/2.381, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001104/0.001104, allocations: 96.81 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.843e-05, allocations: 12 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2016, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.225, allocations: 132.1 MB / 1.018 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.225, allocations: 72.08 kB / 1.018 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01059/1.236, allocations: 2.128 MB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/1.236, allocations: 0 / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.236, allocations: 4 kB / 1.02 GB, free: 3.27 MB / 0.6355 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.001358/1.237, allocations: 471.6 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.237, allocations: 12.03 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/1.237, allocations: 15.91 kB / 1.02 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.237, allocations: 186.8 kB / 1.021 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/1.237, allocations: 4.562 kB / 1.021 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/1.237, allocations: 11.25 kB / 1.021 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002418/1.238, allocations: 55.19 kB / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/1.238, allocations: 122.5 kB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.238, allocations: 4 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/1.238, allocations: 3.984 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.238, allocations: 4 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/1.239, allocations: 0.5762 MB / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/1.24, allocations: 117.9 kB / 1.021 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/1.24, allocations: 50.89 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/1.24, allocations: 0 / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/1.24, allocations: 143.3 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/1.24, allocations: 0 / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004156/1.241, allocations: 132.1 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/1.241, allocations: 106.9 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.241, allocations: 146.2 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/1.241, allocations: 29.7 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.658e-05/1.241, allocations: 110.3 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/1.241, allocations: 44.31 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/1.241, allocations: 0 / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.241, allocations: 324.9 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/1.242, allocations: 45.75 kB / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/1.242, allocations: 90.7 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/1.242, allocations: 37.8 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.242, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004204/1.242, allocations: 158.8 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.242, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.242, allocations: 8 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.242, allocations: 8.062 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/1.243, allocations: 47.95 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.243, allocations: 3.938 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/1.244, allocations: 55.95 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/1.244, allocations: 11.62 kB / 1.023 GB, free: 212 kB / 0.6355 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 () * 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.0001277/1.244, allocations: 117.6 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/1.244, allocations: 19.77 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/1.244, allocations: 77.91 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.244, allocations: 4 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.244, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.244, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/1.244, allocations: 196 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.244, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/1.245, allocations: 43.91 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.245, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/1.245, allocations: 11.94 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.245, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.245, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/1.245, allocations: 192.1 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/1.245, allocations: 92.92 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/1.245, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/1.246, allocations: 51.94 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.246, allocations: 43.23 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/1.246, allocations: 7.5 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001057/1.246, allocations: 119.7 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.246, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003674/1.247, allocations: 24 kB / 1.024 GB, free: 15.2 MB / 0.6511 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) * 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.000206/1.247, allocations: 114.7 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003873/1.247, allocations: 119.4 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.247, allocations: 3.938 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/1.247, allocations: 60.88 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/1.248, allocations: 21.25 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/1.248, allocations: 188.5 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.249, allocations: 0.7124 MB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001724/1.249, allocations: 21.33 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.249, allocations: 23.36 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.203e-06/1.249, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.007283/1.256, allocations: 1.983 MB / 1.027 GB, free: 12.02 MB / 0.6511 GB