Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.922/2.922, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.002399/0.002399, allocations: 188.2 kB / 370.8 MB, free: 10.85 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.298/2.298, 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.001989/0.001989, allocations: 104.7 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007584/0.0007586, allocations: 13.52 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2428, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001236/0.2441, allocations: 401.7 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.2476, allocations: 1.294 MB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2478, allocations: 4 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007945/0.2486, allocations: 179.6 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.2489, allocations: 107.8 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.2515, allocations: 206.5 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009755/0.2525, allocations: 295.9 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.2527, allocations: 8 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.2532, allocations: 187.7 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007195/0.2539, allocations: 183.6 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.2544, allocations: 12 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.2559, allocations: 67.81 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009704/0.2569, allocations: 247.5 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.2571, allocations: 57.58 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.258, allocations: 351.5 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.258, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2581, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.2581, allocations: 0 / 0.9817 GB, free: 24.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002558/0.2607, allocations: 0.5275 MB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.344e-05/0.2608, allocations: 8.031 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.2612, allocations: 35.58 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.2627, allocations: 371.1 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.2628, allocations: 16 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.2631, allocations: 23.98 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.2638, allocations: 184.1 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.2639, allocations: 0 / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.2639, allocations: 4 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.264, allocations: 0 / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.2644, allocations: 111.9 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2655, allocations: 387.1 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.2667, allocations: 319.8 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2668, allocations: 4 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.2683, allocations: 291.8 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 4.599e-06/0.2684, allocations: 3.938 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.002827/0.2712, allocations: 489.2 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.2714, allocations: 118.8 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009754/0.2724, allocations: 400.4 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.2726, allocations: 37.7 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2727, allocations: 161.1 kB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.2728, allocations: 31.55 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.2728, allocations: 12 kB / 0.9851 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.2729, allocations: 346.8 kB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.2731, allocations: 83.95 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.2738, allocations: 467.4 kB / 0.9859 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.274, allocations: 120 kB / 0.986 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2741, allocations: 8 kB / 0.986 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007894/0.2749, allocations: 324.9 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2749, allocations: 8 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2749, allocations: 4 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.275, allocations: 4.406 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.2752, allocations: 35.91 kB / 0.9864 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.2752, allocations: 8 kB / 0.9864 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.2767, allocations: 79.61 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.2768, allocations: 12.06 kB / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003326/0.2771, allocations: 199.9 kB / 0.9867 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.2772, allocations: 39.56 kB / 0.9867 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.2773, allocations: 29.89 kB / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2773, allocations: 4 kB / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.2774, allocations: 0 / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.2774, allocations: 7.984 kB / 0.9868 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.2777, allocations: 281.5 kB / 0.987 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2777, allocations: 0 / 0.987 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.2777, allocations: 7.984 kB / 0.987 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.2778, allocations: 8 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2778, allocations: 8 kB / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.2778, allocations: 0 / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2778, allocations: 0 / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.2787, allocations: 467.9 kB / 0.9875 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2788, allocations: 108.8 kB / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.2789, allocations: 4 kB / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2791, allocations: 4 kB / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.2792, allocations: 23.92 kB / 0.9876 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.2792, allocations: 12 kB / 0.9877 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004183/0.2796, allocations: 291 kB / 0.9879 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2796, allocations: 0 / 0.9879 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006066/0.2803, allocations: 79.94 kB / 0.988 GB, free: 17.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002732/0.2805, allocations: 145.5 kB / 0.9881 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006272/0.2812, allocations: 251.7 kB / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2812, allocations: 0 / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.2815, allocations: 141.3 kB / 0.9885 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2819, allocations: 36.52 kB / 0.9886 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2831, allocations: 0.5818 MB / 0.9891 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2834, allocations: 0.7716 MB / 0.9899 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000275/0.2837, allocations: 50.16 kB / 0.9899 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2838, allocations: 31.42 kB / 0.99 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.342e-06/0.2838, allocations: 4 kB / 0.99 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.01429/0.2981, allocations: 4.598 MB / 0.9944 GB, free: 11.18 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)