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.736/1.736, allocations: 288.3 MB / 303.2 MB, free: 8.102 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.001112/0.001112, allocations: 186.1 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 106.8 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 14.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8606/1.111, allocations: 141.6 MB / 1.118 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.111, allocations: 84.73 kB / 1.118 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01915/1.131, allocations: 7.054 MB / 1.125 GB, free: 31.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.131, allocations: 0 / 1.125 GB, free: 31.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.137e-05/1.131, allocations: 3.594 kB / 1.125 GB, free: 31.5 MB / 0.698 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.0008911/1.132, allocations: 0.5404 MB / 1.125 GB, free: 31.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.132, allocations: 11.59 kB / 1.125 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/1.132, allocations: 23.34 kB / 1.125 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/1.132, allocations: 325.9 kB / 1.126 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.132, allocations: 10.72 kB / 1.126 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/1.132, allocations: 11.16 kB / 1.126 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/1.133, allocations: 93.31 kB / 1.126 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.133, allocations: 0 / 1.126 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/1.133, allocations: 3.312 kB / 1.126 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.133, allocations: 3.875 kB / 1.126 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/1.133, allocations: 51.08 kB / 1.126 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/1.133, allocations: 473.6 kB / 1.126 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/1.134, allocations: 85.58 kB / 1.126 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/1.134, allocations: 7.828 kB / 1.126 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/1.134, allocations: 81.25 kB / 1.126 GB, free: 30.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/1.134, allocations: 0 / 1.126 GB, free: 30.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003149/1.134, allocations: 132.6 kB / 1.126 GB, free: 30.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.134, allocations: 51.41 kB / 1.126 GB, free: 30.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/1.135, allocations: 339.3 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.135, allocations: 33.33 kB / 1.127 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/1.135, allocations: 152.6 kB / 1.127 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/1.135, allocations: 14.7 kB / 1.127 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/1.135, allocations: 6.812 kB / 1.127 GB, free: 30.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.135, allocations: 337.9 kB / 1.127 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/1.135, allocations: 64.25 kB / 1.127 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/1.135, allocations: 92.23 kB / 1.127 GB, free: 29.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/1.135, allocations: 76.95 kB / 1.128 GB, free: 29.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.135, allocations: 0 / 1.128 GB, free: 29.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003487/1.136, allocations: 217.9 kB / 1.128 GB, free: 29.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.136, allocations: 12.67 kB / 1.128 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.136, allocations: 3.938 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.136, allocations: 0 / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/1.136, allocations: 24.72 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.136, allocations: 4 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/1.136, allocations: 21.8 kB / 1.128 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/1.136, allocations: 10.72 kB / 1.128 GB, free: 29.63 MB / 0.698 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.0001463/1.136, allocations: 154.6 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/1.136, allocations: 19.34 kB / 1.128 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/1.137, allocations: 132 kB / 1.128 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.137, allocations: 0 / 1.128 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.137, allocations: 0 / 1.128 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.137, allocations: 4 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/1.137, allocations: 258.6 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.137, allocations: 0 / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/1.137, allocations: 3.875 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.137, allocations: 3.281 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.137, allocations: 3.969 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.137, allocations: 7.891 kB / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.137, allocations: 0 / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/1.137, allocations: 141.1 kB / 1.129 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/1.137, allocations: 103.2 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/1.137, allocations: 7.031 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/1.137, allocations: 11.33 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/1.137, allocations: 14.38 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/1.137, allocations: 7.406 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002026/1.138, allocations: 233.6 kB / 1.129 GB, free: 28.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 3.938 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000282/1.138, allocations: 58.75 kB / 1.129 GB, free: 28.97 MB / 0.698 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.000936/1.139, allocations: 432 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002379/1.139, allocations: 109 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.139, allocations: 0 / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/1.139, allocations: 33 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/1.139, allocations: 53.56 kB / 1.13 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/1.14, allocations: 434.3 kB / 1.13 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/1.14, allocations: 0.7566 MB / 1.131 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.794e-05/1.14, allocations: 30.97 kB / 1.131 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/1.14, allocations: 21.45 kB / 1.131 GB, free: 27.81 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/1.14, allocations: 0 / 1.131 GB, free: 27.81 MB / 0.698 GB Notification: Performance of Templates: time 0.005178/1.146, allocations: 2.678 MB / 1.133 GB, free: 26.5 MB / 0.698 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)