Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.902/4.902, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002549/0.002548, allocations: 358.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.223/4.223, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001883/0.001882, allocations: 178.8 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004909, allocations: 20 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7512, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.9776, allocations: 141.4 MB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.9779, allocations: 79.95 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02679/1.005, allocations: 6.962 MB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/1.005, allocations: 5.562 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.446e-05/1.005, allocations: 4 kB / 1.606 GB, free: 135.8 MB / 0.8542 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.0009031/1.006, allocations: 0.531 MB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/1.006, allocations: 9.609 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/1.006, allocations: 23.72 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/1.007, allocations: 340 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.007, allocations: 5.25 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/1.007, allocations: 8 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/1.007, allocations: 78.62 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.007, allocations: 0 / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/1.007, allocations: 0.5156 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.007, allocations: 5 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/1.007, allocations: 39.97 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/1.008, allocations: 440 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/1.008, allocations: 89.8 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/1.008, allocations: 35.84 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/1.009, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/1.009, allocations: 91.17 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/1.009, allocations: 0 / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004646/1.009, allocations: 129.5 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/1.009, allocations: 56.16 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/1.01, allocations: 370.8 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/1.01, allocations: 30.27 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/1.01, allocations: 141.4 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/1.01, allocations: 15.81 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/1.01, allocations: 0 / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/1.01, allocations: 339.3 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/1.01, allocations: 64.47 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/1.011, allocations: 95.31 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/1.011, allocations: 71.75 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.011, allocations: 0 / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005136/1.011, allocations: 217.2 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.011, allocations: 7.953 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.011, allocations: 4 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.011, allocations: 0.6562 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.012, allocations: 19.98 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.012, allocations: 4.5 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/1.012, allocations: 20.95 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/1.012, allocations: 8 kB / 1.609 GB, free: 132.4 MB / 0.8542 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.0001628/1.012, allocations: 160.6 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/1.012, allocations: 16.88 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/1.012, allocations: 136.5 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/1.012, allocations: 3.984 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.012, allocations: 7.938 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.012, allocations: 0.875 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/1.013, allocations: 245.6 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.013, allocations: 0.9688 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/1.013, allocations: 8 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.013, allocations: 0 / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.013, allocations: 6.406 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.013, allocations: 3.953 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.013, allocations: 7.984 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/1.013, allocations: 137.3 kB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/1.013, allocations: 100.9 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/1.013, allocations: 4.594 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/1.013, allocations: 12.8 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/1.014, allocations: 17.75 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/1.014, allocations: 7.938 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003107/1.014, allocations: 229.9 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.3e-07/1.014, allocations: 7.875 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003778/1.014, allocations: 52.72 kB / 1.611 GB, free: 131.2 MB / 0.8542 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.00119/1.015, allocations: 432.6 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004054/1.016, allocations: 111.9 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.016, allocations: 0 / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/1.016, allocations: 32.52 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/1.017, allocations: 46.02 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/1.017, allocations: 430.6 kB / 1.612 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/1.018, allocations: 0.7536 MB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001518/1.018, allocations: 32.31 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/1.018, allocations: 23.88 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/1.018, allocations: 0 / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.008388/1.026, allocations: 2.684 MB / 1.615 GB, free: 127 MB / 0.8542 GB