Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001347/0.001347, allocations: 186.9 kB / 377.1 MB, free: 1.523 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.835/1.835, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.0008683/0.0008679, allocations: 85.89 kB / 0.751 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8088/1.092, allocations: 142.5 MB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.092, allocations: 75.64 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01897/1.111, allocations: 6.96 MB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.214e-06/1.111, allocations: 4.562 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.859e-05/1.111, allocations: 4 kB / 1.134 GB, free: 28.06 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006986/1.112, allocations: 0.5352 MB / 1.135 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.112, allocations: 12.03 kB / 1.135 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/1.112, allocations: 22.41 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/1.113, allocations: 332.6 kB / 1.135 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/1.113, allocations: 8.891 kB / 1.135 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/1.113, allocations: 8.938 kB / 1.135 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/1.113, allocations: 83.34 kB / 1.135 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.113, allocations: 0 / 1.135 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/1.113, allocations: 3.938 kB / 1.135 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/1.113, allocations: 4.5 kB / 1.135 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.113, allocations: 42.75 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/1.114, allocations: 433.1 kB / 1.136 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/1.114, allocations: 91.86 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/1.114, allocations: 0 / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/1.114, allocations: 83.8 kB / 1.136 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.114, allocations: 0 / 1.136 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003289/1.114, allocations: 138.6 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.115, allocations: 55.41 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/1.115, allocations: 334.9 kB / 1.137 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/1.115, allocations: 30.22 kB / 1.137 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/1.115, allocations: 143.3 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/1.115, allocations: 18.75 kB / 1.137 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/1.115, allocations: 4 kB / 1.137 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.167e-05/1.115, allocations: 333.9 kB / 1.137 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/1.115, allocations: 73.66 kB / 1.137 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/1.115, allocations: 92.92 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/1.115, allocations: 65.81 kB / 1.137 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.116, allocations: 0.6562 kB / 1.137 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003151/1.116, allocations: 220.9 kB / 1.137 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.116, allocations: 8 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.116, allocations: 4.062 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.116, allocations: 0 / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.116, allocations: 31.73 kB / 1.138 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.116, allocations: 0.5469 kB / 1.138 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/1.116, allocations: 25.2 kB / 1.138 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/1.116, allocations: 4 kB / 1.138 GB, free: 24.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001191/1.116, allocations: 152.4 kB / 1.138 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/1.116, allocations: 20.52 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/1.117, allocations: 130.7 kB / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.117, allocations: 4 kB / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.117, allocations: 4.641 kB / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.117, allocations: 0.75 kB / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/1.117, allocations: 250.1 kB / 1.138 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.117, allocations: 1.031 kB / 1.138 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/1.117, allocations: 5.875 kB / 1.138 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.117, allocations: 0 / 1.138 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.117, allocations: 15.14 kB / 1.138 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.117, allocations: 0 / 1.138 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.117, allocations: 0.5625 kB / 1.138 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/1.117, allocations: 143.5 kB / 1.138 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/1.117, allocations: 103.2 kB / 1.138 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/1.117, allocations: 1.578 kB / 1.138 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/1.117, allocations: 15.28 kB / 1.138 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/1.117, allocations: 13.62 kB / 1.138 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/1.117, allocations: 5.875 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002084/1.118, allocations: 232.1 kB / 1.139 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.002e-06/1.118, allocations: 0 / 1.139 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002844/1.118, allocations: 62.39 kB / 1.139 GB, free: 23.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009669/1.119, allocations: 435.9 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002407/1.119, allocations: 117.2 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.119, allocations: 0 / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-05/1.119, allocations: 34.47 kB / 1.139 GB, free: 23.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/1.12, allocations: 46.56 kB / 1.139 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/1.12, allocations: 430.1 kB / 1.14 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/1.12, allocations: 0.7518 MB / 1.14 GB, free: 22.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.71e-05/1.12, allocations: 26.5 kB / 1.14 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/1.121, allocations: 21.41 kB / 1.14 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.121, allocations: 4 kB / 1.14 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.006174/1.127, allocations: 2.668 MB / 1.143 GB, free: 20.68 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)