Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.856/2.856, allocations: 287.3 MB / 302.3 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 191.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 90.06 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007078/0.0007079, allocations: 12.19 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2735, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00101/0.2746, allocations: 417.7 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2758, allocations: 0.8204 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.2759, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.2759, allocations: 3.984 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.276, allocations: 7.984 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.2762, allocations: 19.92 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.2763, allocations: 19.97 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2764, allocations: 16 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.2765, allocations: 19.91 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.2766, allocations: 23.91 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2766, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.2767, allocations: 4 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.2767, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.2768, allocations: 37.64 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.7e-05/0.2768, allocations: 27.91 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2769, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2769, allocations: 4 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2769, allocations: 4 kB / 0.9796 GB, free: 26.93 MB / 0.6198 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.0005904/0.2775, allocations: 351.5 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2775, allocations: 11.97 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.2776, allocations: 7.906 kB / 0.9799 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2778, allocations: 171 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2778, allocations: 4 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.2778, allocations: 4 kB / 0.9801 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.2781, allocations: 69.66 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2781, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2782, allocations: 4 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2782, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.2786, allocations: 75.86 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.2791, allocations: 292.7 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.2795, allocations: 71.53 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.2796, allocations: 3.938 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2796, allocations: 42.59 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.2796, allocations: 0 / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0007106/0.2803, allocations: 117.8 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.2804, allocations: 55.36 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.2805, allocations: 117.8 kB / 0.9809 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2805, allocations: 25.7 kB / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.2805, allocations: 84.05 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.2806, allocations: 15.89 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.2806, allocations: 4 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.2807, allocations: 310.8 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.2809, allocations: 35.91 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2811, allocations: 28.17 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.2813, allocations: 36.05 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2813, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004371/0.2817, allocations: 85.66 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2818, allocations: 4 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2818, allocations: 8 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2818, allocations: 3.984 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.282, allocations: 11.98 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.282, allocations: 3.953 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.2822, allocations: 15.94 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2822, allocations: 7.984 kB / 0.9816 GB, free: 24.68 MB / 0.6198 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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2823, allocations: 115.8 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.2824, allocations: 7.906 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.2824, allocations: 7.906 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2825, allocations: 0 / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2825, allocations: 0 / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2825, allocations: 3.953 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.2827, allocations: 177.6 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2827, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2829, allocations: 15.98 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2829, allocations: 4 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2829, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2829, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.283, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.2835, allocations: 203.4 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.2835, allocations: 77.11 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.2835, allocations: 3.984 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.2837, allocations: 8 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.2838, allocations: 15.92 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2839, allocations: 3.984 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.2839, allocations: 83.28 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2839, allocations: 0 / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003548/0.2843, allocations: 16 kB / 0.9823 GB, free: 23.86 MB / 0.6198 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 (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.000128/0.2844, allocations: 95.25 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.2849, allocations: 63.94 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2849, allocations: 3.938 kB / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.2852, allocations: 43.91 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2854, allocations: 11.89 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.2858, allocations: 136.6 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.286, allocations: 0.6887 MB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.823e-05/0.2861, allocations: 4 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.2861, allocations: 15.42 kB / 0.9833 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.2862, allocations: 0 / 0.9833 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.003837/0.29, allocations: 0.7387 MB / 0.984 GB, free: 22.01 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)