Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.9 MB / 297.4 MB, free: 6.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 180.8 kB / 366.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008549, allocations: 89.86 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.786e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.7503, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.952, allocations: 139 MB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.9524, allocations: 75.95 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.9655, allocations: 4.296 MB / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9656, allocations: 0 / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9656, allocations: 0 / 1.113 GB, free: 6.934 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.000847/0.9664, allocations: 0.517 MB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9665, allocations: 8.031 kB / 1.114 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.9666, allocations: 31.72 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.9669, allocations: 203.7 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.9669, allocations: 4 kB / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.967, allocations: 16 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001518/0.9671, allocations: 55.98 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.9674, allocations: 108.2 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.9674, allocations: 6.672 kB / 1.114 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.9674, allocations: 5.906 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.9674, allocations: 11.95 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/0.9683, allocations: 0.6458 MB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.9687, allocations: 127.8 kB / 1.115 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.9688, allocations: 42.83 kB / 1.115 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.9688, allocations: 7.984 kB / 1.115 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.969, allocations: 139.8 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 3.487e-06/0.9691, allocations: 0 / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003234/0.9694, allocations: 137.4 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.9695, allocations: 114.8 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.9697, allocations: 162.8 kB / 1.116 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.9697, allocations: 33.7 kB / 1.116 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.9699, allocations: 124.5 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.9699, allocations: 35.47 kB / 1.116 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.9699, allocations: 4 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9701, allocations: 330.8 kB / 1.116 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.9703, allocations: 83.98 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.9705, allocations: 148.6 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.9709, allocations: 101.3 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9709, allocations: 0 / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006885/0.9716, allocations: 287.6 kB / 1.117 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.9717, allocations: 67.39 kB / 1.117 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.9717, allocations: 4 kB / 1.117 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.9717, allocations: 2.312 kB / 1.117 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.9718, allocations: 28.11 kB / 1.117 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.9718, allocations: 4 kB / 1.117 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.9723, allocations: 107.8 kB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.9724, allocations: 12 kB / 1.117 GB, free: 2.953 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.0001395/0.9725, allocations: 120.9 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.9725, allocations: 23.75 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.9727, allocations: 71.23 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.9727, allocations: 4 kB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.9727, allocations: 0 / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9727, allocations: 0 / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.973, allocations: 222 kB / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.973, allocations: 0 / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.9731, allocations: 15.98 kB / 1.117 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.9731, allocations: 8 kB / 1.117 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.9731, allocations: 3.953 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9731, allocations: 4 kB / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9731, allocations: 0 / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.9734, allocations: 200.6 kB / 1.117 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.9735, allocations: 89.06 kB / 1.118 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.9735, allocations: 11.97 kB / 1.118 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.9736, allocations: 23.92 kB / 1.118 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.9737, allocations: 35.12 kB / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.9738, allocations: 4 kB / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001085/0.9739, allocations: 143.3 kB / 1.118 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9739, allocations: 0 / 1.118 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003135/0.9742, allocations: 44 kB / 1.118 GB, free: 1.844 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.0002628/0.9745, allocations: 123.1 kB / 1.118 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.975, allocations: 298.7 kB / 1.118 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.975, allocations: 0 / 1.118 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.9751, allocations: 56.17 kB / 1.118 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.9754, allocations: 48.41 kB / 1.118 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.9759, allocations: 195.7 kB / 1.118 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.9762, allocations: 0.7282 MB / 1.119 GB, free: 340 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.247e-05/0.9763, allocations: 17.86 kB / 1.119 GB, free: 320 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.9764, allocations: 23.44 kB / 1.119 GB, free: 296 kB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9764, allocations: 0 / 1.119 GB, free: 296 kB / 0.7136 GB Notification: Performance of Templates: time 0.006381/0.9828, allocations: 2.84 MB / 1.122 GB, free: 13.55 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)