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.001805/0.001805, allocations: 101.8 kB / 16.29 MB, free: 6.008 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.002034/0.002034, allocations: 180.8 kB / 17.22 MB, free: 5.617 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.767/1.767, 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 2.062/2.062, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001414/0.001414, allocations: 79.83 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2565, allocations: 114.5 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002077/0.2587, allocations: 0.6976 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.2597, allocations: 0.8398 MB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.2597, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.2598, allocations: 7.938 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.2598, allocations: 3.938 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.26, allocations: 23.95 kB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.2601, allocations: 47.91 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2602, allocations: 12 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.2603, allocations: 19.92 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.2604, allocations: 31.89 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.2604, allocations: 4 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.2604, allocations: 4 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.2604, allocations: 7.938 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.2605, allocations: 19.92 kB / 0.7858 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.637e-05/0.2606, allocations: 59.72 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2606, allocations: 0 / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2606, allocations: 0 / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2606, allocations: 0 / 0.7858 GB, free: 2.109 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.0005244/0.2611, allocations: 355.7 kB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2612, allocations: 12.03 kB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.2612, allocations: 4.844 kB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2614, allocations: 168.3 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2614, allocations: 384 / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2614, allocations: 12.38 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2616, allocations: 66.22 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2616, allocations: 4.125 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2616, allocations: 7.875 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2616, allocations: 0 / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.2618, allocations: 51.94 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.2623, allocations: 292.7 kB / 0.7867 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.2625, allocations: 70.47 kB / 0.7868 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.2626, allocations: 24.92 kB / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.2626, allocations: 7.984 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2627, allocations: 38.55 kB / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2627, allocations: 4 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003836/0.2631, allocations: 97.62 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.2631, allocations: 55.41 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.2632, allocations: 113.8 kB / 0.7871 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2633, allocations: 25.7 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.2633, allocations: 88.14 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.2634, allocations: 7.906 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.2634, allocations: 29.58 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2636, allocations: 310.8 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.2637, allocations: 23.97 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.2637, allocations: 23.98 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5267/0.7905, allocations: 52.7 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.7905, allocations: 0.7188 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002785/0.7908, allocations: 89.41 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7908, allocations: 9.906 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.7909, allocations: 0 / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.7909, allocations: 0 / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.791, allocations: 14.22 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.791, allocations: 0 / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.7911, allocations: 8.578 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.7911, allocations: 3 kB / 0.7878 GB, free: 48.51 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 0.0001007/0.7913, allocations: 117.4 kB / 0.7879 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.7913, allocations: 8.469 kB / 0.7879 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.7914, allocations: 5.719 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7914, allocations: 0 / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7914, allocations: 0 / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7914, allocations: 2.688 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.7916, allocations: 179.7 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7916, allocations: 0 / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.7917, allocations: 15.72 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7917, allocations: 0 / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.7917, allocations: 0.5 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.7917, allocations: 0 / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7917, allocations: 2.219 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.792, allocations: 189.1 kB / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.792, allocations: 84.2 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.792, allocations: 0 / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7922, allocations: 7.594 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.7922, allocations: 13.84 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.7923, allocations: 3.234 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.7923, allocations: 91.97 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7923, allocations: 0 / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002276/0.7925, allocations: 12.62 kB / 0.7885 GB, free: 47.9 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.0001373/0.7927, allocations: 109.5 kB / 0.7886 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.793, allocations: 55.45 kB / 0.7887 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.793, allocations: 0 / 0.7887 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.7931, allocations: 31.14 kB / 0.7887 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.7935, allocations: 10.05 kB / 0.7887 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.7939, allocations: 128.6 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.7942, allocations: 0.6807 MB / 0.7895 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.615e-05/0.7942, allocations: 5.719 kB / 0.7895 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.7943, allocations: 19.45 kB / 0.7895 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/0.7943, allocations: 1.969 kB / 0.7895 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.003914/0.7982, allocations: 0.8786 MB / 0.7904 GB, free: 47.01 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)