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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 293 MB / 309 MB, free: 4.82 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.001158/0.001158, allocations: 172.6 kB / 378.7 MB, free: 1.02 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.714/1.714, allocations: 205.4 MB / 0.6383 GB, free: 9.148 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.0008514/0.0008512, allocations: 93.42 kB / 0.7527 GB, free: 62.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004601, allocations: 16 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2653, allocations: 116.4 MB / 0.9905 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7767/1.042, allocations: 139.8 MB / 1.127 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.042, allocations: 75.8 kB / 1.127 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0113/1.054, allocations: 4.347 MB / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.996e-06/1.054, allocations: 0 / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.054, allocations: 4 kB / 1.131 GB, free: 31.12 MB / 0.7292 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.0007992/1.055, allocations: 0.5447 MB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.055, allocations: 8.031 kB / 1.132 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/1.055, allocations: 24.75 kB / 1.132 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/1.055, allocations: 208.4 kB / 1.132 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/1.055, allocations: 16.38 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.449e-05/1.055, allocations: 24.31 kB / 1.132 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/1.055, allocations: 139.1 kB / 1.132 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.055, allocations: 4.188 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.055, allocations: 3.938 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/1.055, allocations: 0 / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/1.056, allocations: 110 kB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/1.057, allocations: 0.6723 MB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/1.057, allocations: 162.1 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/1.057, allocations: 61.39 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/1.057, allocations: 8 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/1.057, allocations: 161.4 kB / 1.133 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/1.057, allocations: 4 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0005836/1.058, allocations: 233 kB / 1.134 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.058, allocations: 114.8 kB / 1.134 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/1.058, allocations: 199.2 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/1.058, allocations: 40.98 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/1.058, allocations: 123.6 kB / 1.134 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/1.059, allocations: 35.02 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/1.059, allocations: 8 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.059, allocations: 330.1 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/1.059, allocations: 114.1 kB / 1.135 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/1.059, allocations: 175.1 kB / 1.135 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/1.06, allocations: 259.3 kB / 1.135 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.06, allocations: 0 / 1.135 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006806/1.06, allocations: 381.8 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/1.06, allocations: 66.81 kB / 1.135 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.06, allocations: 8 kB / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.06, allocations: 0 / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/1.061, allocations: 27.81 kB / 1.135 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.061, allocations: 4.703 kB / 1.135 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/1.061, allocations: 115.2 kB / 1.136 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/1.061, allocations: 19.19 kB / 1.136 GB, free: 26.84 MB / 0.7292 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 () * Number of clocked 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.0001308/1.061, allocations: 142.5 kB / 1.136 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/1.061, allocations: 15.81 kB / 1.136 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/1.061, allocations: 107.5 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.061, allocations: 4.312 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.061, allocations: 4 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.061, allocations: 3.938 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/1.062, allocations: 243.3 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.062, allocations: 4.781 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.374e-05/1.062, allocations: 23.22 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/1.062, allocations: 0 / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.062, allocations: 15.42 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.062, allocations: 0 / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.062, allocations: 0.625 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/1.062, allocations: 210.2 kB / 1.136 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/1.062, allocations: 96.05 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/1.062, allocations: 8.75 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.062, allocations: 28.27 kB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/1.062, allocations: 33.02 kB / 1.136 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/1.062, allocations: 15.38 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.985e-05/1.063, allocations: 133.3 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.063, allocations: 0 / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003111/1.063, allocations: 55.94 kB / 1.137 GB, free: 25.73 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0002049/1.063, allocations: 119.5 kB / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005772/1.064, allocations: 354.8 kB / 1.137 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/1.064, allocations: 0 / 1.137 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/1.064, allocations: 77.64 kB / 1.137 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/1.064, allocations: 43.11 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/1.065, allocations: 344.3 kB / 1.138 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/1.065, allocations: 0.7226 MB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001037/1.065, allocations: 19.52 kB / 1.138 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/1.065, allocations: 21.83 kB / 1.138 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of SimCode: time 6.12e-07/1.065, allocations: 3.938 kB / 1.138 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.007921/1.073, allocations: 3.15 MB / 1.141 GB, free: 22.33 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)