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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 252.6 MB / 265.2 MB, free: 5.715 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 175.8 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.5753 GB, free: 10.49 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.001691/0.001691, allocations: 92.5 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.906e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2295, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8853/1.115, allocations: 131.5 MB / 1.023 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.115, allocations: 71.91 kB / 1.023 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00522/1.12, allocations: 0.9694 MB / 1.024 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.43e-06/1.121, allocations: 4 kB / 1.024 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.316e-06/1.121, allocations: 0 / 1.024 GB, free: 2.207 MB / 0.6355 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.0006845/1.121, allocations: 348.4 kB / 1.025 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.121, allocations: 12.03 kB / 1.025 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/1.121, allocations: 3.906 kB / 1.025 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/1.122, allocations: 171 kB / 1.025 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/1.122, allocations: 7.984 kB / 1.025 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.122, allocations: 4 kB / 1.025 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/1.122, allocations: 52.06 kB / 1.025 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.122, allocations: 3.938 kB / 1.025 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/1.122, allocations: 0 / 1.025 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/1.122, allocations: 4.875 kB / 1.025 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/1.122, allocations: 29.86 kB / 1.025 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/1.123, allocations: 291.2 kB / 1.025 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/1.123, allocations: 48 kB / 1.025 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/1.123, allocations: 19.39 kB / 1.025 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/1.123, allocations: 4 kB / 1.025 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.123, allocations: 30.56 kB / 1.025 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/1.123, allocations: 0 / 1.025 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000329/1.124, allocations: 64.3 kB / 1.025 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/1.124, allocations: 55.36 kB / 1.025 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.124, allocations: 104.5 kB / 1.025 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.124, allocations: 25.7 kB / 1.026 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/1.124, allocations: 83.45 kB / 1.026 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/1.124, allocations: 11.81 kB / 1.026 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/1.124, allocations: 3.5 kB / 1.026 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.124, allocations: 317.4 kB / 1.026 GB, free: 436 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/1.124, allocations: 19.12 kB / 1.026 GB, free: 420 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/1.125, allocations: 11 kB / 1.026 GB, free: 416 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.346e-05/1.125, allocations: 11.56 kB / 1.026 GB, free: 408 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.125, allocations: 0 / 1.026 GB, free: 408 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002463/1.125, allocations: 63.73 kB / 1.026 GB, free: 344 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.125, allocations: 4 kB / 1.026 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.125, allocations: 0 / 1.026 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.125, allocations: 0 / 1.026 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.125, allocations: 19.98 kB / 1.026 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.125, allocations: 4 kB / 1.026 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/1.125, allocations: 23.62 kB / 1.026 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/1.126, allocations: 0 / 1.026 GB, free: 296 kB / 0.6355 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 (intGreThr.u,intGreThr.y) * Number of discrete 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.0001174/1.126, allocations: 112.9 kB / 1.026 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/1.126, allocations: 3.906 kB / 1.026 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/1.126, allocations: 7.281 kB / 1.026 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.126, allocations: 192 / 1.026 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.126, allocations: 4 kB / 1.026 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.126, allocations: 7.984 kB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/1.126, allocations: 172.5 kB / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.126, allocations: 0 / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/1.126, allocations: 19.42 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.126, allocations: 0 / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/1.127, allocations: 0 / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.127, allocations: 0 / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.127, allocations: 3.984 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/1.127, allocations: 158.1 kB / 1.027 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/1.127, allocations: 85.02 kB / 1.027 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/1.127, allocations: 0 / 1.027 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/1.127, allocations: 11.98 kB / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.127, allocations: 15.73 kB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.127, allocations: 0 / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.296e-05/1.128, allocations: 90.83 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.12e-07/1.128, allocations: 0 / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00054/1.128, allocations: 16 kB / 1.027 GB, free: 15.53 MB / 0.6511 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 (intGreThr.u,intGreThr.y) * Number of discrete 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.0002072/1.128, allocations: 99.25 kB / 1.027 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002191/1.129, allocations: 30.42 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.129, allocations: 0 / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/1.129, allocations: 19.62 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/1.129, allocations: 14.84 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/1.129, allocations: 88.34 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/1.13, allocations: 0.6809 MB / 1.028 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.881e-05/1.13, allocations: 8.234 kB / 1.028 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/1.13, allocations: 11.38 kB / 1.028 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.13, allocations: 0 / 1.028 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of Templates: time 0.005033/1.135, allocations: 0.7533 MB / 1.028 GB, free: 13.82 MB / 0.6511 GB