Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.79/2.79, allocations: 284.8 MB / 297.3 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002029/0.002029, allocations: 176.8 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.1 MB / 0.6241 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 97.25 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.338e-05, allocations: 8 kB / 0.8575 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8295, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3135/1.143, allocations: 138.5 MB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/1.143, allocations: 70.23 kB / 1.105 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02347/1.167, allocations: 4.324 MB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/1.167, allocations: 3.938 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.167, allocations: 4 kB / 1.11 GB, free: 9.621 MB / 0.7136 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.0009666/1.168, allocations: 0.5092 MB / 1.11 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.168, allocations: 8.031 kB / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/1.168, allocations: 28.91 kB / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/1.168, allocations: 208 kB / 1.11 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/1.169, allocations: 13.22 kB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/1.169, allocations: 20 kB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/1.169, allocations: 123.6 kB / 1.11 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.169, allocations: 0 / 1.11 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.169, allocations: 8 kB / 1.11 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.169, allocations: 3.953 kB / 1.11 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/1.169, allocations: 63.92 kB / 1.11 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/1.17, allocations: 0.6765 MB / 1.111 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/1.171, allocations: 140 kB / 1.111 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.171, allocations: 46.64 kB / 1.111 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/1.171, allocations: 4 kB / 1.111 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/1.172, allocations: 145.9 kB / 1.111 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/1.172, allocations: 0 / 1.111 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005099/1.172, allocations: 148.5 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/1.172, allocations: 110.8 kB / 1.112 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/1.172, allocations: 181.5 kB / 1.112 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.753e-05/1.172, allocations: 41.7 kB / 1.112 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/1.173, allocations: 120.5 kB / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/1.173, allocations: 39.44 kB / 1.112 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/1.173, allocations: 8 kB / 1.112 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.173, allocations: 330.8 kB / 1.112 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/1.173, allocations: 95.89 kB / 1.112 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/1.174, allocations: 163.2 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/1.174, allocations: 137.4 kB / 1.113 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/1.174, allocations: 4 kB / 1.113 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009517/1.175, allocations: 345.7 kB / 1.113 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/1.175, allocations: 71.39 kB / 1.113 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.175, allocations: 0 / 1.113 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/1.175, allocations: 4 kB / 1.113 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/1.175, allocations: 19.98 kB / 1.113 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.175, allocations: 3.938 kB / 1.113 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/1.176, allocations: 115.9 kB / 1.113 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/1.176, allocations: 22.8 kB / 1.113 GB, free: 5.371 MB / 0.7136 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,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001563/1.176, allocations: 118.2 kB / 1.113 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.176, allocations: 15.81 kB / 1.113 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/1.177, allocations: 82.7 kB / 1.114 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.177, allocations: 4.031 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.177, allocations: 4 kB / 1.114 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.177, allocations: 3.984 kB / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/1.177, allocations: 249.4 kB / 1.114 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.177, allocations: 4 kB / 1.114 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/1.177, allocations: 15.98 kB / 1.114 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.177, allocations: 0 / 1.114 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/1.177, allocations: 8 kB / 1.114 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.177, allocations: 7.938 kB / 1.114 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.177, allocations: 7.188 kB / 1.114 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/1.178, allocations: 196 kB / 1.114 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/1.178, allocations: 92.91 kB / 1.114 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/1.178, allocations: 8 kB / 1.114 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/1.178, allocations: 23.98 kB / 1.114 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.178, allocations: 31.94 kB / 1.114 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/1.178, allocations: 7.938 kB / 1.114 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000177/1.179, allocations: 148.2 kB / 1.114 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.445e-06/1.179, allocations: 4 kB / 1.114 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000444/1.179, allocations: 55.94 kB / 1.114 GB, free: 4.195 MB / 0.7136 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 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002761/1.179, allocations: 127.3 kB / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007452/1.18, allocations: 314.7 kB / 1.115 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.18, allocations: 0 / 1.115 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.18, allocations: 59.94 kB / 1.115 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/1.181, allocations: 40.22 kB / 1.115 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/1.181, allocations: 202.6 kB / 1.115 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/1.182, allocations: 0.7246 MB / 1.116 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001392/1.182, allocations: 17.55 kB / 1.116 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-05/1.182, allocations: 27.42 kB / 1.116 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/1.182, allocations: 0 / 1.116 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of Templates: time 0.01006/1.192, allocations: 3.102 MB / 1.119 GB, free: 15.61 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)