Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 88.8 kB / 21.63 MB, free: 2.828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 172.2 kB / 25.05 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.5 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.978/1.978, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0.6562 kB / 0.7762 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.397e-05, allocations: 8.188 kB / 0.7762 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001551/0.001575, allocations: 0.8659 MB / 0.7771 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.002739, allocations: 0.9299 MB / 0.778 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.00281, allocations: 5.094 kB / 0.778 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.002932, allocations: 19.12 kB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.002967, allocations: 11.42 kB / 0.778 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.003113, allocations: 28.89 kB / 0.778 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.003211, allocations: 81.94 kB / 0.7781 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.003302, allocations: 23.97 kB / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.003424, allocations: 48.38 kB / 0.7782 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.003484, allocations: 19.97 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.003499, allocations: 8.531 kB / 0.7782 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.003551, allocations: 12.66 kB / 0.7782 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.003566, allocations: 11.98 kB / 0.7782 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.003583, allocations: 12.5 kB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003686, allocations: 59.75 kB / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003688, allocations: 1.312 kB / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003689, allocations: 0 / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.003692, allocations: 0 / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002971/0.003989, allocations: 277.9 kB / 0.7786 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004023, allocations: 13.34 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.762e-05/0.004121, allocations: 17.64 kB / 0.7786 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.004257, allocations: 142.9 kB / 0.7787 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.004266, allocations: 8.375 kB / 0.7787 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.004277, allocations: 8.312 kB / 0.7787 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.726e-05/0.004364, allocations: 63.45 kB / 0.7788 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004372, allocations: 5.156 kB / 0.7788 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.004378, allocations: 384 / 0.7788 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004383, allocations: 384 / 0.7788 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.004407, allocations: 17.44 kB / 0.7788 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.004624, allocations: 180.2 kB / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.004686, allocations: 35.34 kB / 0.779 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.145e-05/0.004698, allocations: 8.859 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.004708, allocations: 1.594 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.00473, allocations: 42.58 kB / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.004731, allocations: 0 / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001023/0.004833, allocations: 41.69 kB / 0.7791 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.00486, allocations: 52.06 kB / 0.7792 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.004923, allocations: 141.1 kB / 0.7793 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.004938, allocations: 27.02 kB / 0.7793 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.004974, allocations: 92.08 kB / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.004987, allocations: 11.94 kB / 0.7794 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.005012, allocations: 17.72 kB / 0.7794 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.00508, allocations: 320.2 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.00509, allocations: 4 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.005099, allocations: 4.188 kB / 0.7798 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.005127, allocations: 21.5 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.005129, allocations: 0 / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.06e-05/0.005179, allocations: 43.03 kB / 0.7798 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.00519, allocations: 7.938 kB / 0.7798 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005194, allocations: 7.938 kB / 0.7798 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.005201, allocations: 0.6562 kB / 0.7798 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.005241, allocations: 0 / 0.7798 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005243, allocations: 5.125 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.005267, allocations: 11.98 kB / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.005271, allocations: 0 / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.005322, allocations: 110.9 kB / 0.78 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.005341, allocations: 7.938 kB / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.005361, allocations: 16.83 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005363, allocations: 0.7812 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005364, allocations: 3.938 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005366, allocations: 0.5312 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.46e-05/0.005451, allocations: 81.88 kB / 0.7801 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005452, allocations: 0.6875 kB / 0.7801 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.005469, allocations: 5.781 kB / 0.7801 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.00547, allocations: 3.984 kB / 0.7801 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.005475, allocations: 0 / 0.7801 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.005477, allocations: 3.938 kB / 0.7801 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005478, allocations: 0 / 0.7801 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.739e-05/0.005555, allocations: 142.7 kB / 0.7802 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.005566, allocations: 11.89 kB / 0.7802 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.005579, allocations: 0 / 0.7802 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.005615, allocations: 11.92 kB / 0.7802 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.005649, allocations: 11.98 kB / 0.7802 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.005652, allocations: 0 / 0.7802 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.005673, allocations: 27.33 kB / 0.7803 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005673, allocations: 0 / 0.7803 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001154/0.005788, allocations: 8 kB / 0.7803 GB, free: 0.8945 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.285e-05/0.005861, allocations: 83.44 kB / 0.7804 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.322e-05/0.005924, allocations: 20.8 kB / 0.7804 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.005927, allocations: 0 / 0.7804 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.766e-05/0.005944, allocations: 16.84 kB / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.006072, allocations: 4 kB / 0.7804 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.006423, allocations: 181.9 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.006456, allocations: 63.22 kB / 0.7806 GB, free: 492 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.00648, allocations: 7.984 kB / 0.7806 GB, free: 484 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.006533, allocations: 60.45 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.006533, allocations: 0 / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of Templates: time 0.002439/0.008973, allocations: 0.9753 MB / 0.7817 GB, free: 15.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.974200956523418]