Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001315, allocations: 180.4 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.429/2.429, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000961/0.0009604, allocations: 93.8 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007027/0.0007031, allocations: 15.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.222, allocations: 106.3 MB / 0.8995 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.258/0.48, allocations: 132 MB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004265/0.4805, allocations: 75.97 kB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.492, allocations: 2.139 MB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4921, allocations: 0 / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.4921, allocations: 4 kB / 1.031 GB, free: 11.11 MB / 0.6823 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.001475/0.4936, allocations: 0.5046 MB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4937, allocations: 12.03 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.4938, allocations: 16.75 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.494, allocations: 181.3 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.494, allocations: 12.55 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.4941, allocations: 16.31 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.4949, allocations: 192.6 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4949, allocations: 192 / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.4949, allocations: 7.938 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.495, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.496, allocations: 179.8 kB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.4976, allocations: 0.6024 MB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.4987, allocations: 219.7 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.4993, allocations: 108.2 kB / 1.033 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.4993, allocations: 0 / 1.033 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008062/0.5001, allocations: 203.5 kB / 1.033 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.5002, allocations: 4 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.001896/0.5021, allocations: 329.3 kB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.5022, allocations: 110.8 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.5024, allocations: 168 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.5025, allocations: 33.7 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5026, allocations: 108.3 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.5027, allocations: 47.39 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.5028, allocations: 4 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5029, allocations: 338.7 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.5035, allocations: 103.9 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.5042, allocations: 157 kB / 1.034 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.5048, allocations: 91.94 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5048, allocations: 4 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001333/0.5062, allocations: 277.3 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5062, allocations: 9.25 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.5062, allocations: 0 / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5062, allocations: 0 / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.5067, allocations: 52.47 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.5067, allocations: 3.984 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.5073, allocations: 67.86 kB / 1.035 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.5073, allocations: 7.938 kB / 1.035 GB, free: 6.688 MB / 0.6823 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 () * Number of clocked 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.0001856/0.5075, allocations: 133.8 kB / 1.035 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.5076, allocations: 15.81 kB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.5081, allocations: 114.6 kB / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.5081, allocations: 0 / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5081, allocations: 0 / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5081, allocations: 8.172 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.5085, allocations: 225.6 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5085, allocations: 8.219 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.5088, allocations: 39.91 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5088, allocations: 0 / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5088, allocations: 7.984 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5089, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5089, allocations: 4 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.5101, allocations: 286.4 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.5102, allocations: 96.8 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.5102, allocations: 8 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.5107, allocations: 47.95 kB / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.5109, allocations: 55.78 kB / 1.036 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.511, allocations: 4 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001286/0.5111, allocations: 118.8 kB / 1.036 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.3e-07/0.5111, allocations: 0 / 1.036 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003409/0.5115, allocations: 36 kB / 1.036 GB, free: 5.398 MB / 0.6823 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) * Number of clocked states: 0 () * 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.000219/0.5117, allocations: 115.2 kB / 1.036 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.513, allocations: 231.8 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.513, allocations: 4 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.5137, allocations: 119.9 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.5141, allocations: 27.98 kB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.5151, allocations: 300.3 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.5154, allocations: 0.7088 MB / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.5156, allocations: 21.53 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5157, allocations: 15.44 kB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/0.5157, allocations: 4 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of Templates: time 0.007325/0.523, allocations: 2.13 MB / 1.039 GB, free: 1.691 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)