Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.616/1.616, allocations: 297.8 MB / 313.8 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 176.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007646/0.0007646, allocations: 98.14 kB / 0.7808 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 12 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6041/0.6045, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.7716, allocations: 145.3 MB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.7718, allocations: 75.2 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.7915, allocations: 7.247 MB / 1.175 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7916, allocations: 0 / 1.175 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.7916, allocations: 4.969 kB / 1.175 GB, free: 9.32 MB / 0.7448 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.0008874/0.7925, allocations: 0.5358 MB / 1.176 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.7925, allocations: 9.812 kB / 1.176 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.7926, allocations: 24.66 kB / 1.176 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.7932, allocations: 337.4 kB / 1.176 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.7933, allocations: 5.312 kB / 1.176 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.7933, allocations: 13.69 kB / 1.176 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7935, allocations: 95.52 kB / 1.176 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7935, allocations: 3.938 kB / 1.176 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.7936, allocations: 8.5 kB / 1.176 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7936, allocations: 4.625 kB / 1.176 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.7937, allocations: 43.98 kB / 1.176 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.7945, allocations: 472.7 kB / 1.177 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.7948, allocations: 86.03 kB / 1.177 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.7949, allocations: 25.88 kB / 1.177 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.7949, allocations: 11.98 kB / 1.177 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.7951, allocations: 78.38 kB / 1.177 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.7951, allocations: 0 / 1.177 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003483/0.7954, allocations: 138.6 kB / 1.177 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.7955, allocations: 54.84 kB / 1.177 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.7959, allocations: 371.7 kB / 1.178 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.796, allocations: 29.7 kB / 1.178 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.7961, allocations: 144 kB / 1.178 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.7961, allocations: 23.78 kB / 1.178 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.7961, allocations: 7.938 kB / 1.178 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7962, allocations: 334.8 kB / 1.178 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.7964, allocations: 68.62 kB / 1.178 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.7965, allocations: 93.56 kB / 1.178 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.7967, allocations: 108.6 kB / 1.178 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7968, allocations: 1.125 kB / 1.178 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003947/0.7972, allocations: 223.8 kB / 1.179 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7972, allocations: 4 kB / 1.179 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7972, allocations: 4 kB / 1.179 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7972, allocations: 3.938 kB / 1.179 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.7973, allocations: 19.98 kB / 1.179 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.7974, allocations: 7.938 kB / 1.179 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.7975, allocations: 19.92 kB / 1.179 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.7975, allocations: 12 kB / 1.179 GB, free: 5.758 MB / 0.7448 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.000192/0.7977, allocations: 155.7 kB / 1.179 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.7978, allocations: 19.72 kB / 1.179 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.798, allocations: 124.4 kB / 1.179 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.798, allocations: 8.781 kB / 1.179 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.798, allocations: 0 / 1.179 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.798, allocations: 0 / 1.179 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.7983, allocations: 253.5 kB / 1.179 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7983, allocations: 7.922 kB / 1.179 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.7983, allocations: 4 kB / 1.179 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7983, allocations: 0.8906 kB / 1.179 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.7983, allocations: 5.312 kB / 1.179 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.7983, allocations: 3.938 kB / 1.179 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7984, allocations: 0.75 kB / 1.179 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.7986, allocations: 140.8 kB / 1.179 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.7987, allocations: 108.8 kB / 1.179 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.7987, allocations: 4 kB / 1.179 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.7988, allocations: 15.92 kB / 1.179 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.7989, allocations: 11.97 kB / 1.179 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.7989, allocations: 8 kB / 1.179 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002455/0.7991, allocations: 233.9 kB / 1.18 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7991, allocations: 1.594 kB / 1.18 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002902/0.7994, allocations: 51.94 kB / 1.18 GB, free: 4.531 MB / 0.7448 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.0009599/0.8004, allocations: 446.1 kB / 1.18 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.8007, allocations: 107.9 kB / 1.18 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8007, allocations: 0 / 1.18 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.8008, allocations: 31.98 kB / 1.18 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.8011, allocations: 55.22 kB / 1.18 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.8018, allocations: 431.1 kB / 1.181 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.8021, allocations: 0.7479 MB / 1.181 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.8022, allocations: 33.81 kB / 1.181 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.8023, allocations: 23.44 kB / 1.182 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.8023, allocations: 0 / 1.182 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of Templates: time 0.005924/0.8082, allocations: 2.693 MB / 1.184 GB, free: 264 kB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)