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.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 252 MB / 268 MB, free: 10.86 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.0009714/0.0009714, allocations: 179.6 kB / 327.6 MB, free: 2.098 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.789/1.789, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007464/0.0007464, allocations: 97.3 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003691, allocations: 9.156 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001503/0.2532, allocations: 1.128 MB / 0.9026 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.2536, allocations: 152.4 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.2536, allocations: 4 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.2536, allocations: 3.938 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.2537, allocations: 0 / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.2539, allocations: 19.97 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.254, allocations: 39.86 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2541, allocations: 23.97 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.2542, allocations: 12 kB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.2542, allocations: 23.84 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2543, allocations: 7.938 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.2543, allocations: 3.938 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.2543, allocations: 7.984 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.2544, allocations: 41.56 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.025e-05/0.2544, allocations: 35.92 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2545, allocations: 4 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2545, allocations: 0 / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2545, allocations: 0 / 0.9029 GB, free: 61.97 MB / 0.6042 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.0004764/0.255, allocations: 347.7 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.255, allocations: 12.03 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.255, allocations: 0.9375 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2552, allocations: 172.3 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2552, allocations: 8.375 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.2552, allocations: 4.375 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.2554, allocations: 74.2 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2554, allocations: 192 / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2554, allocations: 3.938 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2554, allocations: 3.938 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.2557, allocations: 63.95 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.2561, allocations: 284.8 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.2563, allocations: 66.55 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2564, allocations: 44.84 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2564, allocations: 0 / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2564, allocations: 34.56 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2564, allocations: 8 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004183/0.2569, allocations: 121.5 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2569, allocations: 55.41 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.257, allocations: 109.8 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.257, allocations: 25.7 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.257, allocations: 92.02 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2571, allocations: 15.8 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.2571, allocations: 0 / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.2571, allocations: 318.8 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.2572, allocations: 31.97 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.2573, allocations: 27.98 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2575, allocations: 64.75 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2575, allocations: 0 / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002164/0.2577, allocations: 97.92 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2578, allocations: 4 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2578, allocations: 48 / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2578, allocations: 3.984 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2579, allocations: 23.92 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2579, allocations: 0 / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.258, allocations: 15.92 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.258, allocations: 0 / 0.905 GB, free: 59.66 MB / 0.6042 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.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.2581, allocations: 117.8 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.2581, allocations: 3.906 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.2582, allocations: 11.91 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2582, allocations: 4 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2582, allocations: 0 / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2582, allocations: 3.984 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2583, allocations: 173.7 kB / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2584, allocations: 0 / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.2584, allocations: 15.98 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2585, allocations: 0 / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2585, allocations: 3.984 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2585, allocations: 0 / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2585, allocations: 8 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.2588, allocations: 191.4 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.2588, allocations: 81.02 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2588, allocations: 8 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.2589, allocations: 7.984 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.259, allocations: 11.98 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.259, allocations: 4 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.259, allocations: 91.52 kB / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2591, allocations: 0 / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002004/0.2593, allocations: 8 kB / 0.9057 GB, free: 58.82 MB / 0.6042 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.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001076/0.2594, allocations: 107.2 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.2596, allocations: 63.95 kB / 0.9058 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2596, allocations: 4 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.2597, allocations: 39.91 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.26, allocations: 14.17 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.2604, allocations: 162.4 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.2605, allocations: 0.6848 MB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.2606, allocations: 11.44 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2606, allocations: 4 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.001897/0.2625, allocations: 0.8064 MB / 0.9075 GB, free: 56.88 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)