Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001116/0.001116, allocations: 180.8 kB / 366.7 MB, free: 1.656 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.46/1.46, allocations: 205.3 MB / 0.626 GB, free: 7.188 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.0008005/0.0008006, allocations: 89.05 kB / 0.74 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.753e-05, allocations: 8 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.791, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/1.01, allocations: 141.8 MB / 1.112 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/1.01, allocations: 75.95 kB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02001/1.03, allocations: 6.979 MB / 1.119 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.136e-06/1.03, allocations: 0 / 1.119 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.187e-05/1.03, allocations: 8 kB / 1.119 GB, free: 1.445 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.0008316/1.031, allocations: 497.1 kB / 1.119 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.031, allocations: 12.03 kB / 1.119 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/1.031, allocations: 23.62 kB / 1.119 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/1.032, allocations: 338.3 kB / 1.119 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.032, allocations: 0 / 1.119 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/1.032, allocations: 8 kB / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001294/1.032, allocations: 40 kB / 1.12 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/1.032, allocations: 81.66 kB / 1.12 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.032, allocations: 3.938 kB / 1.12 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.032, allocations: 0 / 1.12 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.032, allocations: 0 / 1.12 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009442/1.033, allocations: 437 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/1.033, allocations: 78.69 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/1.034, allocations: 24.97 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/1.034, allocations: 4 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/1.034, allocations: 73.06 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/1.034, allocations: 0 / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002972/1.034, allocations: 109.5 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.034, allocations: 55.41 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/1.035, allocations: 306.2 kB / 1.121 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.035, allocations: 29.7 kB / 1.121 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.035, allocations: 145.3 kB / 1.121 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/1.035, allocations: 23.73 kB / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/1.035, allocations: 0 / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.035, allocations: 334.8 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/1.035, allocations: 63.98 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/1.035, allocations: 87.95 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/1.035, allocations: 71.95 kB / 1.121 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.035, allocations: 0 / 1.121 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004044/1.036, allocations: 210.5 kB / 1.122 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.036, allocations: 4 kB / 1.122 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.036, allocations: 8.016 kB / 1.122 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.036, allocations: 0 / 1.122 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/1.036, allocations: 27.92 kB / 1.122 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/1.036, allocations: 0 / 1.122 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/1.036, allocations: 19.92 kB / 1.122 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/1.036, allocations: 9.875 kB / 1.122 GB, free: 14.17 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 9.065e-05/1.036, allocations: 105.7 kB / 1.122 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/1.036, allocations: 27.7 kB / 1.122 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/1.037, allocations: 118.5 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.037, allocations: 3.953 kB / 1.122 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.037, allocations: 3.938 kB / 1.122 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.037, allocations: 3.984 kB / 1.122 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/1.037, allocations: 224 kB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.037, allocations: 0 / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/1.037, allocations: 8 kB / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.037, allocations: 0 / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.037, allocations: 0 / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.037, allocations: 0 / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.037, allocations: 4 kB / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/1.037, allocations: 136.8 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/1.037, allocations: 104.8 kB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/1.037, allocations: 0 / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/1.037, allocations: 11.98 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/1.038, allocations: 11.98 kB / 1.122 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.038, allocations: 11.98 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002087/1.038, allocations: 217.6 kB / 1.123 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.038, allocations: 3.938 kB / 1.123 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000286/1.038, allocations: 51.94 kB / 1.123 GB, free: 13.07 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.0009327/1.039, allocations: 362.2 kB / 1.123 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002262/1.039, allocations: 98.59 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.039, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/1.039, allocations: 27.94 kB / 1.123 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/1.04, allocations: 51.25 kB / 1.123 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/1.04, allocations: 270.9 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/1.041, allocations: 0.7587 MB / 1.124 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001146/1.041, allocations: 32.81 kB / 1.124 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/1.041, allocations: 27.42 kB / 1.124 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of SimCode: time 4.3e-07/1.041, allocations: 0 / 1.124 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.006222/1.047, allocations: 2.442 MB / 1.127 GB, free: 9.168 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)