Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.297/2.297, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 177.5 kB / 325.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.472/2.472, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 95.72 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.000472, allocations: 12.38 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 106.3 MB / 0.8989 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2686/0.4777, allocations: 131.5 MB / 1.027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.478, allocations: 71.95 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005002/0.4831, allocations: 0.9657 MB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4831, allocations: 3.938 kB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.4831, allocations: 4 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006804/0.4838, allocations: 355.2 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4839, allocations: 8.031 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.484, allocations: 7.906 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.4841, allocations: 171 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.4842, allocations: 4 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4842, allocations: 0 / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.4846, allocations: 69.66 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4846, allocations: 4 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4847, allocations: 0 / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4847, allocations: 4 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.4852, allocations: 67.88 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.4859, allocations: 292.7 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.4863, allocations: 62.55 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4864, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.4864, allocations: 42.53 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.4864, allocations: 0 / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0009135/0.4874, allocations: 113.8 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4874, allocations: 63.34 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4876, allocations: 101 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4876, allocations: 25.7 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.4877, allocations: 92.03 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.4878, allocations: 11.84 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.4878, allocations: 3.938 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.488, allocations: 314.8 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.4882, allocations: 31.97 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4885, allocations: 27.98 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.4888, allocations: 35.91 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4888, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005913/0.4894, allocations: 89.94 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4894, allocations: 10.02 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4895, allocations: 3.938 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4895, allocations: 4.031 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.4898, allocations: 15.98 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4898, allocations: 4 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.49, allocations: 15.86 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.49, allocations: 7.984 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.4902, allocations: 109.8 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.4902, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.4903, allocations: 11.91 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4903, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4903, allocations: 4 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4903, allocations: 0 / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.4907, allocations: 181.5 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4907, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.4909, allocations: 11.98 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.491, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.491, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.491, allocations: 8 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.491, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.4917, allocations: 195.4 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.4918, allocations: 85.11 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4918, allocations: 3.984 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.4921, allocations: 8 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.4922, allocations: 11.98 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.4922, allocations: 7.984 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.4923, allocations: 83.22 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.346e-06/0.4923, allocations: 0 / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005178/0.4928, allocations: 19.94 kB / 1.031 GB, free: 9.574 MB / 0.6823 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 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001915/0.493, allocations: 103.2 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005649/0.4936, allocations: 63.95 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4937, allocations: 0 / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.4939, allocations: 39.97 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4943, allocations: 11.95 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.4948, allocations: 145.4 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.4952, allocations: 0.6809 MB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.337e-05/0.4953, allocations: 8 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.4954, allocations: 15.42 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/0.4954, allocations: 0 / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of Templates: time 0.004723/0.5002, allocations: 0.7365 MB / 1.033 GB, free: 7.719 MB / 0.6823 GB