Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.839/1.839, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001156/0.001155, allocations: 185 kB / 371.8 MB, free: 10.27 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.908/1.908, allocations: 205.4 MB / 0.6306 GB, free: 10 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.00127/0.00127, allocations: 93.47 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004203, allocations: 17.73 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 115.3 MB / 0.9795 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.839/1.098, allocations: 138.7 MB / 1.115 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.098, allocations: 76.59 kB / 1.115 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01224/1.11, allocations: 4.339 MB / 1.119 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/1.11, allocations: 0 / 1.119 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.11, allocations: 3.906 kB / 1.119 GB, free: 31.8 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.0009031/1.111, allocations: 0.5379 MB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.111, allocations: 11.62 kB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/1.112, allocations: 23.28 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/1.112, allocations: 202.1 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/1.112, allocations: 11.66 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/1.112, allocations: 15.38 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/1.112, allocations: 151.8 kB / 1.12 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.112, allocations: 0 / 1.12 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.112, allocations: 6.438 kB / 1.12 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-06/1.112, allocations: 7.797 kB / 1.12 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/1.112, allocations: 100.4 kB / 1.12 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/1.113, allocations: 0.6817 MB / 1.121 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/1.114, allocations: 160.4 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/1.114, allocations: 0 / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/1.114, allocations: 164.8 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/1.114, allocations: 0 / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000559/1.115, allocations: 234 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/1.115, allocations: 102.8 kB / 1.122 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/1.115, allocations: 181.8 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/1.115, allocations: 37.27 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/1.115, allocations: 117.9 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/1.115, allocations: 45.06 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/1.115, allocations: 11.81 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.115, allocations: 327.7 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/1.116, allocations: 108 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/1.116, allocations: 182.8 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/1.116, allocations: 160.4 kB / 1.123 GB, free: 29.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/1.116, allocations: 3.875 kB / 1.123 GB, free: 29.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006439/1.117, allocations: 381.5 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/1.117, allocations: 70.23 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.117, allocations: 11.78 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.117, allocations: 3.969 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.117, allocations: 15.16 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.117, allocations: 10.7 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/1.117, allocations: 108.3 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/1.118, allocations: 14.31 kB / 1.123 GB, free: 29.34 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.0001563/1.118, allocations: 141.3 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/1.118, allocations: 18.41 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/1.118, allocations: 115.8 kB / 1.124 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/1.118, allocations: 4 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.118, allocations: 0 / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.118, allocations: 3.844 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/1.118, allocations: 249.5 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.118, allocations: 3.953 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/1.118, allocations: 16.94 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/1.118, allocations: 3.844 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.118, allocations: 7.938 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.118, allocations: 3.812 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.118, allocations: 2.906 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/1.119, allocations: 234.8 kB / 1.124 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/1.119, allocations: 95.8 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/1.119, allocations: 3.375 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.119, allocations: 32.14 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/1.119, allocations: 32.88 kB / 1.124 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.119, allocations: 6.531 kB / 1.124 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001213/1.119, allocations: 149.5 kB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.119, allocations: 0 / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003589/1.12, allocations: 53.78 kB / 1.124 GB, free: 28.63 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.0002777/1.12, allocations: 121.5 kB / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000611/1.121, allocations: 355.5 kB / 1.125 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.121, allocations: 0 / 1.125 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/1.121, allocations: 81.58 kB / 1.125 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/1.121, allocations: 33.42 kB / 1.125 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/1.122, allocations: 336.3 kB / 1.125 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/1.122, allocations: 0.7361 MB / 1.126 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.495e-05/1.122, allocations: 19.59 kB / 1.126 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/1.122, allocations: 25.77 kB / 1.126 GB, free: 27.45 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/1.122, allocations: 0 / 1.126 GB, free: 27.45 MB / 0.698 GB Notification: Performance of Templates: time 0.006528/1.129, allocations: 3.098 MB / 1.129 GB, free: 27.23 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)