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.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001435/0.001435, allocations: 180.9 kB / 361.4 MB, free: 6.832 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.787/1.787, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008201/0.0008205, allocations: 102.1 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.533e-05, allocations: 8 kB / 0.8518 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7712, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.969, allocations: 140.8 MB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.9692, allocations: 78.67 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01916/0.9884, allocations: 6.974 MB / 1.109 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9885, allocations: 0 / 1.109 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.9885, allocations: 4 kB / 1.109 GB, free: 8.066 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006909/0.9892, allocations: 0.4951 MB / 1.109 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.9892, allocations: 8.031 kB / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.9893, allocations: 31.38 kB / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.9899, allocations: 326.4 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.9899, allocations: 4 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.99, allocations: 4 kB / 1.11 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001195/0.9901, allocations: 43.98 kB / 1.11 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.9903, allocations: 85.59 kB / 1.11 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9903, allocations: 0 / 1.11 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.9903, allocations: 0 / 1.11 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.9903, allocations: 8 kB / 1.11 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.991, allocations: 429 kB / 1.11 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.9912, allocations: 78.67 kB / 1.11 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.9913, allocations: 20.98 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.9913, allocations: 0 / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.9914, allocations: 83.27 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.9915, allocations: 8 kB / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002403/0.9917, allocations: 97.56 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.9918, allocations: 55.39 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.9921, allocations: 310.2 kB / 1.111 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.9921, allocations: 25.7 kB / 1.111 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.9922, allocations: 147.9 kB / 1.111 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.9923, allocations: 23.73 kB / 1.111 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.9923, allocations: 0 / 1.111 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9924, allocations: 334.8 kB / 1.111 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.9925, allocations: 67.97 kB / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.9927, allocations: 83.97 kB / 1.111 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.9929, allocations: 76.86 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9929, allocations: 0 / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003631/0.9932, allocations: 209.3 kB / 1.112 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9933, allocations: 8.062 kB / 1.112 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9933, allocations: 9.266 kB / 1.112 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.9933, allocations: 3.938 kB / 1.112 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.9934, allocations: 23.92 kB / 1.112 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9935, allocations: 4 kB / 1.112 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.9936, allocations: 15.97 kB / 1.112 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.9936, allocations: 12 kB / 1.112 GB, free: 4.789 MB / 0.7136 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 () * 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 8.685e-05/0.9937, allocations: 109.7 kB / 1.112 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.9937, allocations: 19.72 kB / 1.112 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.994, allocations: 113.7 kB / 1.112 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.994, allocations: 3.953 kB / 1.112 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.994, allocations: 0 / 1.112 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.994, allocations: 7.984 kB / 1.112 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.9942, allocations: 218.1 kB / 1.112 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9942, allocations: 0 / 1.112 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.9943, allocations: 13.67 kB / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9943, allocations: 0 / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.9943, allocations: 5.25 kB / 1.112 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9943, allocations: 4 kB / 1.112 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9943, allocations: 0 / 1.112 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.9945, allocations: 128.8 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.9946, allocations: 112.8 kB / 1.112 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.9946, allocations: 0 / 1.112 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.9947, allocations: 11.98 kB / 1.113 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.9948, allocations: 11.98 kB / 1.113 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.9948, allocations: 4 kB / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002333/0.995, allocations: 217.9 kB / 1.113 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.995, allocations: 0 / 1.113 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002722/0.9953, allocations: 51.92 kB / 1.113 GB, free: 3.695 MB / 0.7136 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) * 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.000858/0.9962, allocations: 379.5 kB / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.9964, allocations: 95.92 kB / 1.113 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9964, allocations: 3.938 kB / 1.113 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.9965, allocations: 35.92 kB / 1.113 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.9967, allocations: 39.58 kB / 1.113 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.9973, allocations: 281.4 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.9978, allocations: 0.7516 MB / 1.114 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.9979, allocations: 30.31 kB / 1.114 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.998, allocations: 23.44 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.998, allocations: 4 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of Templates: time 0.006845/1.005, allocations: 2.429 MB / 1.117 GB, free: 15.78 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)