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.709/1.709, allocations: 285.4 MB / 298 MB, free: 5.957 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.001401/0.001401, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.914/1.914, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0009198/0.0009196, allocations: 94.95 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.903e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7585, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/1.002, allocations: 141.5 MB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.002, allocations: 76.45 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02164/1.024, allocations: 7.039 MB / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/1.024, allocations: 0 / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.878e-05/1.024, allocations: 6.906 kB / 1.116 GB, free: 3.246 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.0007801/1.025, allocations: 495 kB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.025, allocations: 12.02 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/1.025, allocations: 27.62 kB / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/1.025, allocations: 326.4 kB / 1.117 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.026, allocations: 11.94 kB / 1.117 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/1.026, allocations: 12 kB / 1.117 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/1.026, allocations: 89.66 kB / 1.117 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.026, allocations: 0 / 1.117 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.026, allocations: 8 kB / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.026, allocations: 0 / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/1.026, allocations: 47.98 kB / 1.117 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/1.027, allocations: 466 kB / 1.117 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/1.027, allocations: 78.62 kB / 1.118 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/1.027, allocations: 36.92 kB / 1.118 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/1.027, allocations: 0 / 1.118 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/1.027, allocations: 79.45 kB / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/1.027, allocations: 0 / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002935/1.027, allocations: 101.5 kB / 1.118 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/1.028, allocations: 59.34 kB / 1.118 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/1.028, allocations: 339.3 kB / 1.118 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/1.028, allocations: 37.7 kB / 1.118 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.028, allocations: 136 kB / 1.118 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/1.028, allocations: 15.81 kB / 1.118 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/1.028, allocations: 4 kB / 1.118 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.028, allocations: 338.8 kB / 1.119 GB, free: 384 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/1.029, allocations: 63.97 kB / 1.119 GB, free: 320 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/1.029, allocations: 91.59 kB / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.029, allocations: 74.38 kB / 1.119 GB, free: 148 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.029, allocations: 0 / 1.119 GB, free: 148 kB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004438/1.029, allocations: 209.2 kB / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.029, allocations: 11.5 kB / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.029, allocations: 0 / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.029, allocations: 0 / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/1.03, allocations: 23.98 kB / 1.119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.03, allocations: 3.938 kB / 1.119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/1.03, allocations: 35.8 kB / 1.119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/1.03, allocations: 4 kB / 1.119 GB, free: 15.86 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 () * 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.0001005/1.03, allocations: 113 kB / 1.119 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/1.03, allocations: 29.8 kB / 1.119 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/1.03, allocations: 134.4 kB / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.03, allocations: 0 / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.03, allocations: 0 / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.03, allocations: 0 / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/1.031, allocations: 245.6 kB / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.031, allocations: 0 / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/1.031, allocations: 15.98 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/1.031, allocations: 0 / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.031, allocations: 3.953 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.031, allocations: 0 / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.031, allocations: 0 / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/1.031, allocations: 136.8 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.031, allocations: 108.8 kB / 1.12 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/1.031, allocations: 8 kB / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/1.031, allocations: 15.94 kB / 1.12 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/1.031, allocations: 11.92 kB / 1.12 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/1.031, allocations: 1.438 kB / 1.12 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003006/1.032, allocations: 239.1 kB / 1.12 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/1.032, allocations: 0 / 1.12 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003243/1.032, allocations: 55.94 kB / 1.12 GB, free: 14.67 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) * 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.001045/1.033, allocations: 387 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002633/1.033, allocations: 103.9 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.033, allocations: 0 / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/1.033, allocations: 39.92 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/1.034, allocations: 54.28 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/1.034, allocations: 283.2 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/1.035, allocations: 0.7519 MB / 1.122 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001277/1.035, allocations: 30.06 kB / 1.122 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/1.035, allocations: 27.42 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/1.035, allocations: 0 / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.007258/1.042, allocations: 2.679 MB / 1.124 GB, free: 10.5 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)