Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.797/1.797, allocations: 288.4 MB / 303.4 MB, free: 8.141 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.001043/0.001043, allocations: 179.1 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007861/0.0007858, allocations: 82.42 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004072, allocations: 16.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2585, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002075/0.2607, allocations: 1.652 MB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2621, allocations: 1.035 MB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2622, allocations: 3.938 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.2626, allocations: 143.6 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.2628, allocations: 127.5 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.2632, allocations: 165.8 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.2634, allocations: 263.2 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2636, allocations: 44.36 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2637, allocations: 115.5 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2638, allocations: 131.4 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.2639, allocations: 4 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.264, allocations: 47.95 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.2641, allocations: 67.75 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.2641, allocations: 73.5 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.2644, allocations: 283.6 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2644, allocations: 0 / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2644, allocations: 0 / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2644, allocations: 0 / 0.9836 GB, free: 23.51 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007877/0.2652, allocations: 0.5796 MB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2652, allocations: 12.02 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.2653, allocations: 39.48 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.2657, allocations: 365.1 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2657, allocations: 4 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2658, allocations: 12 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.266, allocations: 101.6 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.266, allocations: 0 / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2661, allocations: 12 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2661, allocations: 3.953 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2662, allocations: 63.89 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.267, allocations: 0.4926 MB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.2673, allocations: 142.6 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.2674, allocations: 48.83 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.2674, allocations: 0 / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.2677, allocations: 115.3 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.2677, allocations: 0 / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004759/0.2681, allocations: 223 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2682, allocations: 51.41 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.2687, allocations: 0.5054 MB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2687, allocations: 25.7 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2688, allocations: 168.4 kB / 0.9865 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.2688, allocations: 43.47 kB / 0.9865 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.2689, allocations: 12 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.2689, allocations: 342.8 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.2691, allocations: 100.5 kB / 0.987 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2693, allocations: 135.6 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2695, allocations: 108.4 kB / 0.9872 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2695, allocations: 4 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004109/0.2699, allocations: 321 kB / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2699, allocations: 9.25 kB / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2699, allocations: 0 / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.27, allocations: 0 / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2702, allocations: 51.97 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2702, allocations: 7.938 kB / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2703, allocations: 23.83 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2703, allocations: 12.06 kB / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001395/0.2705, allocations: 181.7 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.2705, allocations: 35.58 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.2706, allocations: 39.06 kB / 0.9879 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2706, allocations: 4 kB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2706, allocations: 0 / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2706, allocations: 0 / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.2708, allocations: 301.4 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2709, allocations: 0 / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.2709, allocations: 12 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2709, allocations: 7.938 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.271, allocations: 8 kB / 0.9882 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.271, allocations: 0 / 0.9882 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.271, allocations: 0 / 0.9882 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.2713, allocations: 214.3 kB / 0.9884 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.2714, allocations: 108.7 kB / 0.9885 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.2714, allocations: 11.94 kB / 0.9885 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.2715, allocations: 12 kB / 0.9885 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.2716, allocations: 19.97 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.2716, allocations: 4 kB / 0.9885 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002883/0.2719, allocations: 319.1 kB / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.092e-06/0.2719, allocations: 0 / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002549/0.2722, allocations: 55.94 kB / 0.9889 GB, free: 17.8 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001006/0.2732, allocations: 417.4 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.2735, allocations: 191.8 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2736, allocations: 0 / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2737, allocations: 63.91 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.2741, allocations: 83.92 kB / 0.9896 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.2748, allocations: 0.5784 MB / 0.9902 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.275, allocations: 0.7947 MB / 0.9909 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.2752, allocations: 58.94 kB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.2752, allocations: 35.36 kB / 0.991 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2752, allocations: 0 / 0.991 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.006218/0.2815, allocations: 3.743 MB / 0.9947 GB, free: 11.99 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)