Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009052/0.0009053, allocations: 179.3 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 0.5785 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 95.92 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 12 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.3654, allocations: 131.7 MB / 1.03 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.3657, allocations: 75.94 kB / 1.03 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002667/0.3683, allocations: 0.9667 MB / 1.031 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.689e-06/0.3684, allocations: 0 / 1.031 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3684, allocations: 7.938 kB / 1.031 GB, free: 11.07 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.0004178/0.3688, allocations: 355.4 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3689, allocations: 12.03 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3689, allocations: 4.844 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3691, allocations: 176.3 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3691, allocations: 4.375 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3691, allocations: 4.375 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3693, allocations: 74.22 kB / 1.032 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3693, allocations: 192 / 1.032 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3693, allocations: 3.938 kB / 1.032 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3693, allocations: 0 / 1.032 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.3695, allocations: 63.89 kB / 1.032 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.37, allocations: 284.8 kB / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3701, allocations: 74.53 kB / 1.032 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/0.3702, allocations: 28.92 kB / 1.032 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3703, allocations: 4 kB / 1.032 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3703, allocations: 34.5 kB / 1.032 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3703, allocations: 4 kB / 1.032 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003944/0.3707, allocations: 121.6 kB / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.3707, allocations: 51.41 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.3708, allocations: 117.8 kB / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3709, allocations: 29.7 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.3709, allocations: 80.14 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3709, allocations: 19.78 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.3709, allocations: 0 / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.371, allocations: 314.8 kB / 1.033 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.3711, allocations: 27.98 kB / 1.033 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.3712, allocations: 35.97 kB / 1.033 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3714, allocations: 64.69 kB / 1.033 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3714, allocations: 8 kB / 1.033 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002285/0.3717, allocations: 89.56 kB / 1.033 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3717, allocations: 7.938 kB / 1.033 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3717, allocations: 0 / 1.033 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3717, allocations: 3.984 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3718, allocations: 19.98 kB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3718, allocations: 0 / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.3719, allocations: 16 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3719, allocations: 3.984 kB / 1.033 GB, free: 8.758 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 (intGreThr.u,intGreThr.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 7.112e-05/0.372, allocations: 117.7 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.372, allocations: 336 / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.3721, allocations: 11.91 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3721, allocations: 7.984 kB / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3721, allocations: 0 / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3721, allocations: 0 / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.3723, allocations: 177.6 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3723, allocations: 0 / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.011e-05/0.3724, allocations: 11.98 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3724, allocations: 0 / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3724, allocations: 8 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3724, allocations: 0 / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3724, allocations: 4 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3727, allocations: 193 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.3727, allocations: 81.11 kB / 1.034 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3728, allocations: 7.984 kB / 1.034 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.3729, allocations: 8 kB / 1.034 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.3729, allocations: 19.86 kB / 1.034 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.3729, allocations: 3.984 kB / 1.034 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.373, allocations: 83.59 kB / 1.034 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.373, allocations: 0 / 1.034 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002028/0.3732, allocations: 16 kB / 1.034 GB, free: 7.922 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 (intGreThr.u,intGreThr.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.0001244/0.3733, allocations: 107.2 kB / 1.034 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3736, allocations: 59.95 kB / 1.034 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3736, allocations: 0 / 1.034 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3737, allocations: 43.91 kB / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3739, allocations: 7.938 kB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.3743, allocations: 140.6 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3745, allocations: 0.6809 MB / 1.035 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.676e-05/0.3745, allocations: 8 kB / 1.035 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3746, allocations: 15.44 kB / 1.035 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3746, allocations: 0 / 1.035 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of Templates: time 0.002515/0.3771, allocations: 0.7482 MB / 1.035 GB, free: 6.062 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)