Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.795/2.795, allocations: 287.5 MB / 303.2 MB, free: 8.219 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.001424/0.001424, allocations: 185.8 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00091/0.0009098, allocations: 91.91 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005099, allocations: 18.14 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2202, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9529/1.173, allocations: 138.6 MB / 1.115 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.173, allocations: 81.16 kB / 1.115 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01958/1.193, allocations: 4.347 MB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.193, allocations: 0 / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.193, allocations: 0 / 1.119 GB, free: 31.25 MB / 0.698 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.0009577/1.194, allocations: 0.5473 MB / 1.119 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.194, allocations: 11.56 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/1.194, allocations: 20.44 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/1.194, allocations: 211.3 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/1.194, allocations: 11.5 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/1.195, allocations: 19.22 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/1.195, allocations: 145 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.195, allocations: 192 / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/1.195, allocations: 7.375 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.195, allocations: 3.719 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/1.195, allocations: 102.2 kB / 1.12 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/1.196, allocations: 0.6776 MB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/1.197, allocations: 159.3 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/1.197, allocations: 70.75 kB / 1.121 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/1.197, allocations: 3.938 kB / 1.121 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/1.198, allocations: 162.4 kB / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/1.198, allocations: 0 / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0008754/1.199, allocations: 237.3 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/1.199, allocations: 109.3 kB / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/1.199, allocations: 196.7 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/1.199, allocations: 36.83 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.199, allocations: 121.7 kB / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/1.199, allocations: 44.42 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/1.199, allocations: 6.938 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.199, allocations: 330.3 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/1.2, allocations: 113.1 kB / 1.122 GB, free: 29.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/1.2, allocations: 182.4 kB / 1.122 GB, free: 29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/1.201, allocations: 246 kB / 1.123 GB, free: 28.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.201, allocations: 0 / 1.123 GB, free: 28.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001083/1.202, allocations: 382 kB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/1.202, allocations: 74.7 kB / 1.123 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.202, allocations: 7.75 kB / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.202, allocations: 3.562 kB / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.202, allocations: 18.45 kB / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.202, allocations: 7.969 kB / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/1.203, allocations: 113.6 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/1.203, allocations: 17.83 kB / 1.123 GB, free: 28.68 MB / 0.698 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.000229/1.204, allocations: 144.9 kB / 1.123 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/1.204, allocations: 15.53 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/1.204, allocations: 111.7 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.204, allocations: 3.875 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.204, allocations: 0 / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.204, allocations: 10.84 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/1.204, allocations: 240.4 kB / 1.124 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.204, allocations: 4 kB / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/1.205, allocations: 18.62 kB / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/1.205, allocations: 3 kB / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/1.205, allocations: 15.09 kB / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.205, allocations: 0 / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.205, allocations: 0 / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/1.205, allocations: 220 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/1.205, allocations: 88.77 kB / 1.124 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/1.205, allocations: 10.17 kB / 1.124 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/1.206, allocations: 28.73 kB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.206, allocations: 31.8 kB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/1.206, allocations: 10.41 kB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001528/1.206, allocations: 143.8 kB / 1.124 GB, free: 28.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.206, allocations: 0 / 1.124 GB, free: 28.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004599/1.206, allocations: 53.69 kB / 1.124 GB, free: 28 MB / 0.698 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.0002146/1.207, allocations: 124.1 kB / 1.124 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009243/1.207, allocations: 352.4 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.207, allocations: 4.062 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/1.208, allocations: 74.59 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/1.208, allocations: 35.86 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/1.209, allocations: 346.7 kB / 1.125 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/1.209, allocations: 0.7214 MB / 1.126 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001302/1.21, allocations: 31.25 kB / 1.126 GB, free: 26.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/1.21, allocations: 15.09 kB / 1.126 GB, free: 26.82 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/1.21, allocations: 0 / 1.126 GB, free: 26.82 MB / 0.698 GB Notification: Performance of Templates: time 0.008755/1.218, allocations: 3.119 MB / 1.129 GB, free: 26.59 MB / 0.698 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)