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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 285.4 MB / 298 MB, free: 5.98 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.001736/0.001736, allocations: 184.8 kB / 366.4 MB, free: 2.074 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.898/1.898, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0009192/0.000919, allocations: 93.89 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/3.99e-05, allocations: 8 kB / 0.8583 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8413, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/1.047, allocations: 141.5 MB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.047, allocations: 79.95 kB / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02067/1.068, allocations: 6.936 MB / 1.116 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/1.068, allocations: 0 / 1.116 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.586e-05/1.068, allocations: 4 kB / 1.116 GB, free: 3.387 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007946/1.069, allocations: 489.8 kB / 1.116 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.069, allocations: 12.03 kB / 1.116 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/1.069, allocations: 31.7 kB / 1.116 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/1.07, allocations: 330.2 kB / 1.117 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/1.07, allocations: 4 kB / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/1.07, allocations: 8 kB / 1.117 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/1.07, allocations: 81.66 kB / 1.117 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.07, allocations: 3.984 kB / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/1.07, allocations: 0 / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/1.07, allocations: 4 kB / 1.117 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/1.071, allocations: 32 kB / 1.117 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/1.071, allocations: 456.4 kB / 1.117 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/1.072, allocations: 82.61 kB / 1.117 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/1.072, allocations: 30.92 kB / 1.117 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/1.072, allocations: 4 kB / 1.117 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/1.072, allocations: 75.39 kB / 1.117 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/1.072, allocations: 0 / 1.117 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002988/1.072, allocations: 105.3 kB / 1.118 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/1.072, allocations: 59.34 kB / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/1.073, allocations: 327.4 kB / 1.118 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.073, allocations: 32.52 kB / 1.118 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.073, allocations: 144 kB / 1.118 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/1.073, allocations: 19.75 kB / 1.118 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/1.073, allocations: 4 kB / 1.118 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.073, allocations: 334.8 kB / 1.118 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.073, allocations: 63.98 kB / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/1.073, allocations: 91.95 kB / 1.119 GB, free: 416 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/1.074, allocations: 63.97 kB / 1.119 GB, free: 352 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.074, allocations: 4.031 kB / 1.119 GB, free: 348 kB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003364/1.074, allocations: 218.2 kB / 1.119 GB, free: 124 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.074, allocations: 4 kB / 1.119 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.074, allocations: 0 / 1.119 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.074, allocations: 3.953 kB / 1.119 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.074, allocations: 27.98 kB / 1.119 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.074, allocations: 0 / 1.119 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/1.074, allocations: 23.83 kB / 1.119 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/1.074, allocations: 12.03 kB / 1.119 GB, free: 52 kB / 0.7136 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.0001174/1.074, allocations: 115 kB / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/1.074, allocations: 23.72 kB / 1.119 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/1.075, allocations: 117.8 kB / 1.119 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.075, allocations: 3.984 kB / 1.119 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.075, allocations: 7.891 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.075, allocations: 0 / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/1.075, allocations: 249.5 kB / 1.119 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.075, allocations: 2.062 kB / 1.119 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/1.075, allocations: 8 kB / 1.119 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.075, allocations: 4 kB / 1.119 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.075, allocations: 0 / 1.119 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.075, allocations: 0 / 1.119 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.075, allocations: 3.984 kB / 1.119 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/1.075, allocations: 142.5 kB / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/1.075, allocations: 96.83 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/1.075, allocations: 7.984 kB / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/1.076, allocations: 12 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/1.076, allocations: 15.97 kB / 1.12 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/1.076, allocations: 7.938 kB / 1.12 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002554/1.076, allocations: 231 kB / 1.12 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.076, allocations: 0 / 1.12 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002797/1.076, allocations: 52.05 kB / 1.12 GB, free: 14.88 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.0009617/1.077, allocations: 398.5 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002623/1.077, allocations: 107.9 kB / 1.12 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.077, allocations: 0 / 1.12 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.058e-05/1.078, allocations: 31.98 kB / 1.121 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.078, allocations: 53.14 kB / 1.121 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/1.078, allocations: 279.1 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/1.079, allocations: 0.752 MB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001209/1.079, allocations: 36.05 kB / 1.122 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/1.079, allocations: 19.44 kB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.079, allocations: 0 / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.006407/1.086, allocations: 2.675 MB / 1.124 GB, free: 10.7 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)