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.916/1.916, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001143/0.001143, allocations: 185 kB / 377.1 MB, free: 1.527 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.982/1.982, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0009934/0.0009934, allocations: 89.88 kB / 0.751 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.345, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.758/1.103, allocations: 139.7 MB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004131/1.104, allocations: 79.83 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01281/1.116, allocations: 4.333 MB / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.589e-06/1.117, allocations: 0 / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.248e-05/1.117, allocations: 0 / 1.129 GB, free: 32.03 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.001033/1.118, allocations: 0.5507 MB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/1.118, allocations: 8.031 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/1.118, allocations: 25.88 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/1.118, allocations: 196 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/1.118, allocations: 12 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/1.118, allocations: 26.91 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/1.119, allocations: 137.3 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.119, allocations: 0 / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/1.119, allocations: 8 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.119, allocations: 0 / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/1.119, allocations: 101.4 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/1.12, allocations: 0.6825 MB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/1.12, allocations: 158.8 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/1.12, allocations: 0 / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/1.121, allocations: 167.6 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/1.121, allocations: 0 / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0006168/1.122, allocations: 238.7 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.122, allocations: 106.8 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/1.122, allocations: 183.5 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.122, allocations: 37.7 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/1.122, allocations: 120 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/1.122, allocations: 38.89 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/1.122, allocations: 4 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.122, allocations: 333.6 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/1.122, allocations: 111.7 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/1.123, allocations: 181.2 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/1.123, allocations: 166.7 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.123, allocations: 4 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006687/1.124, allocations: 379.6 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/1.124, allocations: 70.97 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.124, allocations: 0 / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.124, allocations: 9.75 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.124, allocations: 27.31 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.124, allocations: 0.75 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/1.124, allocations: 104.2 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/1.124, allocations: 20.17 kB / 1.133 GB, free: 27.95 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.0001543/1.125, allocations: 145.7 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/1.125, allocations: 19.19 kB / 1.133 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/1.125, allocations: 107.9 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/1.125, allocations: 4.609 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.125, allocations: 0 / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.125, allocations: 0.5625 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/1.125, allocations: 251.8 kB / 1.134 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.125, allocations: 8.766 kB / 1.134 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/1.125, allocations: 19.47 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.125, allocations: 0 / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/1.125, allocations: 4 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.125, allocations: 0.5625 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.125, allocations: 5.719 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/1.126, allocations: 244.1 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/1.126, allocations: 96.86 kB / 1.134 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/1.126, allocations: 0 / 1.134 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.126, allocations: 32.05 kB / 1.134 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/1.126, allocations: 34.81 kB / 1.134 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/1.126, allocations: 4 kB / 1.134 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001105/1.126, allocations: 141.9 kB / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003611/1.127, allocations: 59.94 kB / 1.134 GB, free: 26.8 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.0002392/1.127, allocations: 117.9 kB / 1.134 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000565/1.127, allocations: 355 kB / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.127, allocations: 0 / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/1.128, allocations: 83.48 kB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/1.128, allocations: 40.69 kB / 1.135 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/1.128, allocations: 336.5 kB / 1.135 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/1.129, allocations: 0.7247 MB / 1.136 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.781e-05/1.129, allocations: 25.38 kB / 1.136 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/1.129, allocations: 19.44 kB / 1.136 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.129, allocations: 4 kB / 1.136 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.006978/1.136, allocations: 3.09 MB / 1.139 GB, free: 23.46 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)