Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.617/1.617, allocations: 297.8 MB / 313.7 MB, free: 136 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.0009695/0.0009695, allocations: 187 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.284/1.284, allocations: 223.2 MB / 0.6626 GB, free: 4.344 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.0007269/0.0007269, allocations: 90.58 kB / 0.7808 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 16.62 kB / 0.9088 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5526, allocations: 120.3 MB / 1.026 GB, free: 56.98 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.7262, allocations: 145.2 MB / 1.168 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.7264, allocations: 81.69 kB / 1.168 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01807/0.7445, allocations: 7.149 MB / 1.175 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7445, allocations: 0 / 1.175 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.7446, allocations: 8 kB / 1.175 GB, free: 5.852 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007107/0.7453, allocations: 0.5295 MB / 1.176 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.7453, allocations: 8.031 kB / 1.176 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.7454, allocations: 24.66 kB / 1.176 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.7459, allocations: 339.7 kB / 1.176 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.7459, allocations: 9.969 kB / 1.176 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.746, allocations: 4.375 kB / 1.176 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.7461, allocations: 82.16 kB / 1.176 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7462, allocations: 3.938 kB / 1.176 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7462, allocations: 4 kB / 1.176 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.7462, allocations: 3.938 kB / 1.176 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.7463, allocations: 51.97 kB / 1.176 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.7469, allocations: 440.5 kB / 1.177 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.7471, allocations: 86.66 kB / 1.177 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.7472, allocations: 28.84 kB / 1.177 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.7472, allocations: 4 kB / 1.177 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.7474, allocations: 79.31 kB / 1.177 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.7474, allocations: 9.297 kB / 1.177 GB, free: 4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003073/0.7477, allocations: 133.4 kB / 1.177 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.7478, allocations: 51.41 kB / 1.177 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.7481, allocations: 362.9 kB / 1.177 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.7482, allocations: 29.7 kB / 1.177 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.7483, allocations: 140 kB / 1.178 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.7483, allocations: 15.8 kB / 1.178 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.7483, allocations: 4 kB / 1.178 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7484, allocations: 342.8 kB / 1.178 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.7486, allocations: 67.97 kB / 1.178 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.7487, allocations: 98.38 kB / 1.178 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.7489, allocations: 111.5 kB / 1.178 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7489, allocations: 0 / 1.178 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003245/0.7492, allocations: 218.9 kB / 1.178 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7493, allocations: 10.34 kB / 1.178 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7493, allocations: 0 / 1.178 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.7493, allocations: 0 / 1.178 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.7494, allocations: 23.98 kB / 1.178 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.7494, allocations: 0 / 1.178 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.7495, allocations: 23.86 kB / 1.178 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.7496, allocations: 8 kB / 1.178 GB, free: 2.332 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.000121/0.7497, allocations: 159.5 kB / 1.179 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.7497, allocations: 19.72 kB / 1.179 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.75, allocations: 123.7 kB / 1.179 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.75, allocations: 5.359 kB / 1.179 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.75, allocations: 0 / 1.179 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.75, allocations: 3.938 kB / 1.179 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.7502, allocations: 253.5 kB / 1.179 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7502, allocations: 3.938 kB / 1.179 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.7502, allocations: 7.938 kB / 1.179 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7503, allocations: 4 kB / 1.179 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.7503, allocations: 0 / 1.179 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7503, allocations: 4.078 kB / 1.179 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7503, allocations: 7.984 kB / 1.179 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.7505, allocations: 140.8 kB / 1.179 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.7506, allocations: 100.8 kB / 1.179 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.7506, allocations: 7.984 kB / 1.179 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.7507, allocations: 16 kB / 1.179 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.7508, allocations: 11.97 kB / 1.179 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.7508, allocations: 7.938 kB / 1.179 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002114/0.751, allocations: 229.9 kB / 1.179 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.751, allocations: 3.938 kB / 1.179 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002473/0.7513, allocations: 52 kB / 1.18 GB, free: 1.098 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.0008969/0.7522, allocations: 438.9 kB / 1.18 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.7524, allocations: 103.9 kB / 1.18 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7524, allocations: 0 / 1.18 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.7525, allocations: 35.98 kB / 1.18 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.7528, allocations: 52.72 kB / 1.18 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.7534, allocations: 425.1 kB / 1.181 GB, free: 216 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.7537, allocations: 0.7479 MB / 1.181 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.228e-05/0.7538, allocations: 41.62 kB / 1.181 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.7539, allocations: 23.42 kB / 1.181 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of SimCode: time 2.4e-07/0.7539, allocations: 0 / 1.181 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of Templates: time 0.00533/0.7592, allocations: 2.69 MB / 1.184 GB, free: 12.71 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)