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.389/2.389, allocations: 252.6 MB / 265.2 MB, free: 5.707 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.002043/0.002043, allocations: 181.5 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.4 MB / 0.5754 GB, free: 10.38 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.001121/0.001121, allocations: 98.16 kB / 0.6797 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.494e-05/4.501e-05, allocations: 4 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2035, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8794/1.083, allocations: 131.9 MB / 1.024 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.083, allocations: 69.45 kB / 1.024 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01628/1.1, allocations: 2.143 MB / 1.026 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.485e-06/1.1, allocations: 0 / 1.026 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.957e-05/1.1, allocations: 4 kB / 1.026 GB, free: 0.6367 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.001962/1.102, allocations: 485.9 kB / 1.026 GB, free: 128 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/1.102, allocations: 8.031 kB / 1.026 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/1.102, allocations: 15.34 kB / 1.026 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/1.102, allocations: 187 kB / 1.027 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/1.102, allocations: 15.5 kB / 1.027 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/1.102, allocations: 8 kB / 1.027 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/1.103, allocations: 127.5 kB / 1.027 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.103, allocations: 0 / 1.027 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/1.103, allocations: 11.95 kB / 1.027 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/1.103, allocations: 0 / 1.027 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/1.104, allocations: 72.23 kB / 1.027 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.106, allocations: 0.6033 MB / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/1.106, allocations: 131.9 kB / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/1.107, allocations: 49.02 kB / 1.028 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/1.107, allocations: 0 / 1.028 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/1.107, allocations: 142.8 kB / 1.028 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 3.216e-06/1.107, allocations: 0 / 1.028 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0006791/1.108, allocations: 127.3 kB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.108, allocations: 110.7 kB / 1.028 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/1.108, allocations: 151 kB / 1.028 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/1.108, allocations: 36.7 kB / 1.028 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.109, allocations: 106.6 kB / 1.028 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-05/1.109, allocations: 46.89 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/1.109, allocations: 4 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002216/1.109, allocations: 326 kB / 1.029 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/1.109, allocations: 53.73 kB / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/1.11, allocations: 94.77 kB / 1.029 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/1.11, allocations: 52.5 kB / 1.029 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.11, allocations: 4 kB / 1.029 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007287/1.111, allocations: 169 kB / 1.029 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.111, allocations: 5.562 kB / 1.029 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.111, allocations: 4 kB / 1.029 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.111, allocations: 0 / 1.029 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/1.112, allocations: 55.77 kB / 1.029 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.112, allocations: 3.938 kB / 1.029 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007828/1.112, allocations: 63.62 kB / 1.029 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/1.112, allocations: 4 kB / 1.029 GB, free: 13.46 MB / 0.6511 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.0001919/1.113, allocations: 128 kB / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/1.113, allocations: 19.8 kB / 1.029 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/1.113, allocations: 75.92 kB / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.113, allocations: 4 kB / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.113, allocations: 0 / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.113, allocations: 0 / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/1.114, allocations: 229.4 kB / 1.029 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.114, allocations: 3.953 kB / 1.029 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/1.114, allocations: 39.91 kB / 1.029 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.114, allocations: 4 kB / 1.029 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/1.114, allocations: 7.109 kB / 1.029 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.114, allocations: 4 kB / 1.029 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.114, allocations: 192 / 1.029 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/1.115, allocations: 192 kB / 1.03 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/1.115, allocations: 95.3 kB / 1.03 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/1.115, allocations: 2.438 kB / 1.03 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/1.116, allocations: 51.94 kB / 1.03 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/1.116, allocations: 52.42 kB / 1.03 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/1.116, allocations: 4 kB / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002079/1.117, allocations: 122.2 kB / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.11e-07/1.117, allocations: 0 / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006715/1.117, allocations: 31.88 kB / 1.03 GB, free: 12.41 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.000305/1.118, allocations: 119.5 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000716/1.118, allocations: 131 kB / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.118, allocations: 0 / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004151/1.119, allocations: 62.31 kB / 1.03 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/1.119, allocations: 26.06 kB / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/1.12, allocations: 194.9 kB / 1.031 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/1.121, allocations: 0.7088 MB / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002792/1.121, allocations: 21.33 kB / 1.031 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.121, allocations: 22.42 kB / 1.031 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of SimCode: time 1.884e-06/1.121, allocations: 0 / 1.031 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of Templates: time 0.0117/1.133, allocations: 2.135 MB / 1.033 GB, free: 9.066 MB / 0.6511 GB