Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.704/2.704, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001456/0.001455, allocations: 183.1 kB / 371 MB, free: 10.88 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.276/2.276, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.001057/0.001057, allocations: 98.77 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005001, allocations: 16.59 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2772, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009787/0.2782, allocations: 417.7 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2793, allocations: 0.8322 MB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.2793, allocations: 0 / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.2794, allocations: 0 / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.2795, allocations: 3.938 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.2797, allocations: 19.92 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.2798, allocations: 43.89 kB / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2799, allocations: 8 kB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.28, allocations: 23.92 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.2801, allocations: 15.92 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2801, allocations: 4 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.2801, allocations: 0 / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.2801, allocations: 19.84 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.2802, allocations: 29.7 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.86e-05/0.2803, allocations: 31.92 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2803, allocations: 0 / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.756e-06/0.2803, allocations: 0 / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2803, allocations: 0 / 0.9798 GB, free: 26.89 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.0005702/0.2809, allocations: 347.5 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2809, allocations: 12.03 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.281, allocations: 11.91 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2811, allocations: 178.9 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2812, allocations: 0 / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2812, allocations: 4 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2815, allocations: 81.58 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2815, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2815, allocations: 4 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2815, allocations: 0 / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.2819, allocations: 55.95 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.2825, allocations: 296.7 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.2828, allocations: 66.48 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.283, allocations: 40.91 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2831, allocations: 0 / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2831, allocations: 30.56 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.2831, allocations: 0 / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006485/0.2838, allocations: 129.6 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.2838, allocations: 55.34 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.2839, allocations: 105.8 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2839, allocations: 25.7 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.284, allocations: 104 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.284, allocations: 3.906 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.284, allocations: 4 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.2841, allocations: 314.8 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.2843, allocations: 27.97 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.2845, allocations: 29.05 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2846, allocations: 36.05 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2847, allocations: 0 / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003981/0.2851, allocations: 93.66 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2851, allocations: 7.984 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2851, allocations: 0 / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.2851, allocations: 0 / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.2853, allocations: 19.92 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2854, allocations: 3.953 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2855, allocations: 8 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2855, allocations: 7.922 kB / 0.9818 GB, free: 24.61 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.2856, allocations: 117.8 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.2857, allocations: 3.906 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.2857, allocations: 11.91 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2858, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2858, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2858, allocations: 3.953 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.286, allocations: 177.6 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.286, allocations: 4 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.2862, allocations: 15.98 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2862, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2862, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2862, allocations: 4 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2862, allocations: 0 / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.2867, allocations: 199.3 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.2867, allocations: 77.11 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.2868, allocations: 7.984 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.2869, allocations: 12 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.287, allocations: 7.984 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2871, allocations: 4 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.2871, allocations: 95.2 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2871, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002927/0.2874, allocations: 8 kB / 0.9825 GB, free: 23.79 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 (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 (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.0001367/0.2876, allocations: 103.2 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004128/0.288, allocations: 67.94 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.288, allocations: 0 / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.2882, allocations: 39.91 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2886, allocations: 11.94 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.2891, allocations: 136.7 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.2893, allocations: 0.6848 MB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.567e-05/0.2894, allocations: 7.906 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.2894, allocations: 7.438 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.2894, allocations: 0 / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.003883/0.2933, allocations: 0.7506 MB / 0.9843 GB, free: 21.93 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)