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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 252 MB / 267.9 MB, free: 10.89 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.001017/0.001017, allocations: 182.4 kB / 327.5 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.563/1.563, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007317/0.0007317, allocations: 89.98 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 12.62 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.3103, allocations: 131.7 MB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3106, allocations: 71.95 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002582/0.3132, allocations: 0.9705 MB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3132, allocations: 0 / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3132, allocations: 0 / 1.031 GB, free: 10.74 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.0003904/0.3136, allocations: 359.4 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3137, allocations: 12.02 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.3137, allocations: 8.844 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3138, allocations: 172.2 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3138, allocations: 4.375 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3139, allocations: 4.375 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.314, allocations: 70.22 kB / 1.032 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3141, allocations: 4.188 kB / 1.032 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3141, allocations: 7.875 kB / 1.032 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.3141, allocations: 0 / 1.032 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.3143, allocations: 59.94 kB / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.3147, allocations: 296.8 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3149, allocations: 66.58 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.315, allocations: 40.88 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.315, allocations: 0 / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3151, allocations: 34.56 kB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3151, allocations: 0 / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004061/0.3155, allocations: 121.6 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3155, allocations: 51.41 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.3156, allocations: 117.8 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3156, allocations: 25.7 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.3157, allocations: 84.14 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3157, allocations: 23.77 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.3157, allocations: 0 / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.3158, allocations: 314.8 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.3159, allocations: 27.97 kB / 1.033 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.316, allocations: 27.98 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3162, allocations: 68.69 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3162, allocations: 0 / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002208/0.3164, allocations: 105.8 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3165, allocations: 4 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3165, allocations: 0 / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3165, allocations: 0 / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3166, allocations: 16.03 kB / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3166, allocations: 0 / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.3167, allocations: 19.97 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3167, allocations: 0 / 1.033 GB, free: 8.418 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 (intLesThr.u,intLesThr.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 9.069e-05/0.3168, allocations: 117.8 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3168, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.3169, allocations: 7.891 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3169, allocations: 4 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3169, allocations: 0 / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3169, allocations: 3.938 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3171, allocations: 173.6 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3171, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.3172, allocations: 19.98 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3172, allocations: 3.984 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3172, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3172, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3172, allocations: 4 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3175, allocations: 200.9 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.3176, allocations: 77.11 kB / 1.034 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3176, allocations: 4 kB / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.3177, allocations: 11.92 kB / 1.034 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.3178, allocations: 11.98 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.3178, allocations: 4 kB / 1.034 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.3179, allocations: 95.56 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3179, allocations: 3.938 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002141/0.3181, allocations: 12 kB / 1.034 GB, free: 7.578 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 (intLesThr.u,intLesThr.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.0001465/0.3182, allocations: 99.25 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3185, allocations: 71.94 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3185, allocations: 0 / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3187, allocations: 31.98 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3189, allocations: 18.73 kB / 1.034 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.3193, allocations: 144.5 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3196, allocations: 0.6809 MB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.3196, allocations: 4 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3197, allocations: 11.42 kB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.3197, allocations: 8 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of Templates: time 0.002506/0.3222, allocations: 0.7482 MB / 1.035 GB, free: 5.715 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)