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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 293 MB / 309 MB, free: 4.812 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.001066/0.001066, allocations: 168.6 kB / 378.7 MB, free: 1.023 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.682/1.682, allocations: 205.4 MB / 0.6383 GB, free: 8.168 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.000736/0.0007359, allocations: 87.45 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005464, allocations: 19.98 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2825, allocations: 116.4 MB / 0.9905 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7418/1.024, allocations: 142.6 MB / 1.13 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/1.025, allocations: 85.28 kB / 1.13 GB, free: 32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01899/1.044, allocations: 7.076 MB / 1.137 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.427e-06/1.044, allocations: 4 kB / 1.137 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.852e-05/1.044, allocations: 4 kB / 1.137 GB, free: 27.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008538/1.045, allocations: 0.536 MB / 1.137 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.045, allocations: 8.828 kB / 1.137 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/1.045, allocations: 25.22 kB / 1.137 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/1.045, allocations: 340.2 kB / 1.138 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/1.046, allocations: 9.062 kB / 1.138 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/1.046, allocations: 13.12 kB / 1.138 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/1.046, allocations: 93.98 kB / 1.138 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.046, allocations: 3.938 kB / 1.138 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/1.046, allocations: 4.562 kB / 1.138 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.046, allocations: 4.562 kB / 1.138 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/1.046, allocations: 47.08 kB / 1.138 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/1.047, allocations: 471.5 kB / 1.138 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/1.047, allocations: 90.62 kB / 1.138 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/1.047, allocations: 28.47 kB / 1.138 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.047, allocations: 0.8438 kB / 1.138 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/1.048, allocations: 88.67 kB / 1.138 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.048, allocations: 0 / 1.138 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003911/1.048, allocations: 134.4 kB / 1.139 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/1.048, allocations: 55.92 kB / 1.139 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/1.048, allocations: 370.7 kB / 1.139 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.048, allocations: 30.36 kB / 1.139 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/1.049, allocations: 147.1 kB / 1.139 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.049, allocations: 18.48 kB / 1.139 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/1.049, allocations: 0.6562 kB / 1.139 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/1.049, allocations: 338.2 kB / 1.139 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/1.049, allocations: 65.7 kB / 1.14 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/1.049, allocations: 101.1 kB / 1.14 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/1.049, allocations: 107.2 kB / 1.14 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.049, allocations: 0 / 1.14 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003582/1.05, allocations: 218.8 kB / 1.14 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.05, allocations: 4.562 kB / 1.14 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.05, allocations: 1.969 kB / 1.14 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.05, allocations: 8.75 kB / 1.14 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/1.05, allocations: 27.59 kB / 1.14 GB, free: 23.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/1.05, allocations: 0.7031 kB / 1.14 GB, free: 23.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/1.05, allocations: 23.38 kB / 1.14 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/1.05, allocations: 5.5 kB / 1.14 GB, free: 23.83 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.0001447/1.05, allocations: 155.4 kB / 1.14 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/1.05, allocations: 23.72 kB / 1.14 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/1.05, allocations: 131.8 kB / 1.14 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.05, allocations: 3.938 kB / 1.14 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.05, allocations: 0 / 1.14 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.05, allocations: 0.5625 kB / 1.14 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/1.051, allocations: 256 kB / 1.141 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.051, allocations: 0.7031 kB / 1.141 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/1.051, allocations: 9.453 kB / 1.141 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.051, allocations: 0 / 1.141 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.051, allocations: 1.312 kB / 1.141 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.051, allocations: 4.688 kB / 1.141 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.051, allocations: 4 kB / 1.141 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/1.051, allocations: 144.5 kB / 1.141 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/1.051, allocations: 107.4 kB / 1.141 GB, free: 22.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/1.051, allocations: 5.594 kB / 1.141 GB, free: 22.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/1.051, allocations: 20.56 kB / 1.141 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/1.051, allocations: 10.89 kB / 1.141 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/1.051, allocations: 8.609 kB / 1.141 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002433/1.052, allocations: 237.1 kB / 1.141 GB, free: 22.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.052, allocations: 0 / 1.141 GB, free: 22.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002925/1.052, allocations: 54 kB / 1.141 GB, free: 22.68 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.001025/1.053, allocations: 420.8 kB / 1.142 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002668/1.053, allocations: 117.4 kB / 1.142 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.053, allocations: 4.062 kB / 1.142 GB, free: 22.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/1.053, allocations: 36.11 kB / 1.142 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/1.054, allocations: 41.75 kB / 1.142 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/1.054, allocations: 436.7 kB / 1.142 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/1.055, allocations: 0.7551 MB / 1.143 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00012/1.055, allocations: 26.72 kB / 1.143 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/1.055, allocations: 20.84 kB / 1.143 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/1.055, allocations: 5.688 kB / 1.143 GB, free: 21.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.007848/1.063, allocations: 2.7 MB / 1.146 GB, free: 19.51 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)