Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 100.6 kB / 16.26 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.5495 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.244, allocations: 114.6 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002096/0.2461, allocations: 0.7003 MB / 0.7847 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.2471, allocations: 0.8398 MB / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.2471, allocations: 0 / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.2472, allocations: 3.938 kB / 0.7855 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.2473, allocations: 3.938 kB / 0.7856 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.2474, allocations: 27.95 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.2475, allocations: 43.92 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2476, allocations: 15.98 kB / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.2477, allocations: 19.92 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.2478, allocations: 23.91 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2478, allocations: 4 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.2478, allocations: 4 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.2479, allocations: 19.92 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2479, allocations: 15.92 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.372e-05/0.248, allocations: 47.86 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.248, allocations: 0 / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.508e-06/0.248, allocations: 0 / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.248, allocations: 3.938 kB / 0.7858 GB, free: 2.055 MB / 0.6544 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.000524/0.2486, allocations: 363.5 kB / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2486, allocations: 8.031 kB / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.2486, allocations: 8.844 kB / 0.7861 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2488, allocations: 176.3 kB / 0.7863 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2488, allocations: 384 / 0.7863 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.2488, allocations: 4.375 kB / 0.7863 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.249, allocations: 62.22 kB / 0.7864 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2491, allocations: 192 / 0.7864 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2491, allocations: 7.938 kB / 0.7864 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2491, allocations: 4 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.2493, allocations: 43.95 kB / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.2497, allocations: 304.6 kB / 0.7867 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2499, allocations: 58.55 kB / 0.7868 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2501, allocations: 32.91 kB / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2501, allocations: 4 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2501, allocations: 30.56 kB / 0.7868 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2501, allocations: 3.938 kB / 0.7868 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004074/0.2505, allocations: 109.8 kB / 0.7869 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.2506, allocations: 55.39 kB / 0.787 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.2507, allocations: 113.8 kB / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2507, allocations: 25.7 kB / 0.7871 GB, free: 480 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.2507, allocations: 88.12 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.2508, allocations: 7.906 kB / 0.7872 GB, free: 380 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.2508, allocations: 17.72 kB / 0.7872 GB, free: 356 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2509, allocations: 318.8 kB / 0.7875 GB, free: 28 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.251, allocations: 19.98 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4357/0.6868, allocations: 25.22 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.6871, allocations: 56.58 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6871, allocations: 1.219 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002802/0.6874, allocations: 90.31 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.6874, allocations: 5.75 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6874, allocations: 1.312 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.6874, allocations: 3.828 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.6876, allocations: 15.38 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.6876, allocations: 3.75 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-05/0.6877, allocations: 8.562 kB / 0.7878 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.6877, allocations: 4.125 kB / 0.7878 GB, free: 48.48 MB / 0.6544 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 (reaToInt.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.6878, allocations: 118.3 kB / 0.7879 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.6878, allocations: 5.5 kB / 0.7879 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.6879, allocations: 10.66 kB / 0.7879 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6879, allocations: 3.234 kB / 0.7879 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6879, allocations: 2.844 kB / 0.7879 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6879, allocations: 0.6562 kB / 0.7879 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.6881, allocations: 173.1 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6881, allocations: 1.562 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.6882, allocations: 12.45 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6882, allocations: 3.688 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.6882, allocations: 3.281 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6882, allocations: 1.844 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6882, allocations: 1.594 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.6885, allocations: 184.8 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.6885, allocations: 80.39 kB / 0.7883 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.6886, allocations: 0 / 0.7883 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.6887, allocations: 12.08 kB / 0.7883 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.6887, allocations: 12.58 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.6888, allocations: 1.25 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.6888, allocations: 87.83 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6888, allocations: 0 / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002355/0.6891, allocations: 12.34 kB / 0.7885 GB, free: 47.87 MB / 0.6544 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.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.0001322/0.6892, allocations: 102.1 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.6895, allocations: 59.44 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6895, allocations: 1.719 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.6896, allocations: 30.75 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.6899, allocations: 2.812 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.6903, allocations: 162.9 kB / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.6904, allocations: 0.685 MB / 0.7895 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.6905, allocations: 9.656 kB / 0.7895 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of SimCode: time 4.8e-07/0.6905, allocations: 1.375 kB / 0.7895 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.002209/0.6927, allocations: 0.8092 MB / 0.7903 GB, free: 46.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)