Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.000981/0.000981, allocations: 184.8 kB / 366.7 MB, free: 1.68 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.384/1.384, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008833/0.0008834, allocations: 92.47 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.419e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7718, allocations: 116.3 MB / 0.9733 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.9911, allocations: 141.8 MB / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.9914, allocations: 75.95 kB / 1.112 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01872/1.01, allocations: 6.888 MB / 1.119 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/1.01, allocations: 0 / 1.119 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.835e-05/1.01, allocations: 4 kB / 1.119 GB, free: 1.57 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.0006798/1.011, allocations: 493.8 kB / 1.119 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.011, allocations: 8.031 kB / 1.119 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/1.011, allocations: 23.72 kB / 1.119 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/1.012, allocations: 330.3 kB / 1.119 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.012, allocations: 0 / 1.119 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/1.012, allocations: 8 kB / 1.119 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00012/1.012, allocations: 43.92 kB / 1.119 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/1.012, allocations: 77.66 kB / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.012, allocations: 0 / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.012, allocations: 0 / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.012, allocations: 2.719 kB / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/1.013, allocations: 421 kB / 1.12 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/1.013, allocations: 74.67 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/1.013, allocations: 28.97 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/1.013, allocations: 4 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/1.013, allocations: 73.2 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/1.013, allocations: 0 / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002729/1.014, allocations: 112 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.014, allocations: 51.41 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/1.014, allocations: 318.3 kB / 1.12 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/1.014, allocations: 29.7 kB / 1.121 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.014, allocations: 136 kB / 1.121 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/1.014, allocations: 23.73 kB / 1.121 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/1.014, allocations: 0 / 1.121 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.014, allocations: 334.8 kB / 1.121 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/1.015, allocations: 63.98 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/1.015, allocations: 87.95 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/1.015, allocations: 73.81 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.015, allocations: 0 / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003802/1.015, allocations: 209.2 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.015, allocations: 8 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.015, allocations: 0 / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.015, allocations: 0 / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/1.015, allocations: 27.98 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.015, allocations: 7.891 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.016, allocations: 23.86 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/1.016, allocations: 8 kB / 1.121 GB, free: 14.32 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 0.0001053/1.016, allocations: 109.9 kB / 1.122 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/1.016, allocations: 19.72 kB / 1.122 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/1.016, allocations: 120.8 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.016, allocations: 4 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.016, allocations: 0 / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.016, allocations: 3.953 kB / 1.122 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/1.016, allocations: 218.1 kB / 1.122 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.016, allocations: 4 kB / 1.122 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/1.016, allocations: 5.5 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.016, allocations: 0 / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/1.016, allocations: 4 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.016, allocations: 3.984 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.016, allocations: 0 / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/1.017, allocations: 140.8 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/1.017, allocations: 96.83 kB / 1.122 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/1.017, allocations: 8 kB / 1.122 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/1.017, allocations: 13.95 kB / 1.122 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/1.017, allocations: 15.97 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/1.017, allocations: 3.938 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002146/1.017, allocations: 218 kB / 1.122 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.017, allocations: 0 / 1.122 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00029/1.017, allocations: 52.05 kB / 1.122 GB, free: 13.22 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.0009995/1.018, allocations: 362.6 kB / 1.123 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002925/1.019, allocations: 95.92 kB / 1.123 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.019, allocations: 1.781 kB / 1.123 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/1.019, allocations: 35.98 kB / 1.123 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/1.019, allocations: 44.88 kB / 1.123 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/1.02, allocations: 286.7 kB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/1.02, allocations: 0.7584 MB / 1.124 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001096/1.02, allocations: 35.14 kB / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/1.02, allocations: 19.44 kB / 1.124 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/1.02, allocations: 0 / 1.124 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.00599/1.026, allocations: 2.48 MB / 1.126 GB, free: 9.266 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)