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 1.691/1.691, allocations: 287.5 MB / 302.6 MB, free: 8.285 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.001023/0.001023, allocations: 183 kB / 371.2 MB, free: 10.73 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.875/1.875, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0009198/0.00092, allocations: 92.92 kB / 0.7432 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 16.38 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008659/0.2932, allocations: 401.7 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.2948, allocations: 1.301 MB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.2948, allocations: 4 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.2953, allocations: 183.6 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.2954, allocations: 103.7 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.296, allocations: 211.2 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.2963, allocations: 371.8 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.2964, allocations: 8 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.2965, allocations: 191.7 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2968, allocations: 191.6 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.2968, allocations: 8 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.297, allocations: 71.88 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.2973, allocations: 239.5 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.2974, allocations: 65.58 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.2977, allocations: 351.5 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2977, allocations: 0 / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2977, allocations: 0 / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2977, allocations: 0 / 0.9823 GB, free: 24.48 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.0008423/0.2986, allocations: 0.5295 MB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.2986, allocations: 8.031 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.2988, allocations: 36.56 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.2992, allocations: 384.1 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2993, allocations: 12.38 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.2993, allocations: 20.38 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.2996, allocations: 188.6 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2997, allocations: 192 / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.2997, allocations: 7.922 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2997, allocations: 7.984 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.2999, allocations: 103.9 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3002, allocations: 391 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.3006, allocations: 315.6 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3007, allocations: 131.4 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3007, allocations: 0 / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.3011, allocations: 289.6 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.3011, allocations: 0 / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006451/0.3018, allocations: 0.4893 MB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3019, allocations: 114.8 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.3022, allocations: 400.3 kB / 0.9856 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.3023, allocations: 41.7 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3024, allocations: 152.8 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3024, allocations: 47.48 kB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.3025, allocations: 4 kB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.3026, allocations: 346.7 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.3027, allocations: 83.95 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.303, allocations: 467.5 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.3032, allocations: 249.5 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3032, allocations: 0 / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003556/0.3036, allocations: 333.1 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3036, allocations: 8 kB / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3036, allocations: 0 / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3037, allocations: 8 kB / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3038, allocations: 31.92 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3038, allocations: 7.984 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.3046, allocations: 68.84 kB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3046, allocations: 23.97 kB / 0.9874 GB, free: 18.83 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.0001572/0.3048, allocations: 197.2 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3048, allocations: 31.56 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.3048, allocations: 33.89 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3049, allocations: 4 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3049, allocations: 0 / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3049, allocations: 0 / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.3051, allocations: 289.5 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3051, allocations: 240 / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.3051, allocations: 15.86 kB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3051, allocations: 0 / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3052, allocations: 4.125 kB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3052, allocations: 4 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3052, allocations: 7.984 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.3056, allocations: 436.5 kB / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.3057, allocations: 120.7 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3057, allocations: 3.984 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.3058, allocations: 8 kB / 0.9885 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.3059, allocations: 15.98 kB / 0.9885 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3059, allocations: 11.98 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002596/0.3062, allocations: 287 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3062, allocations: 0 / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003269/0.3065, allocations: 87.92 kB / 0.9888 GB, free: 17.2 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.0001963/0.3067, allocations: 135.1 kB / 0.989 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.3071, allocations: 252.3 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3071, allocations: 0.8125 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3072, allocations: 147.9 kB / 0.9894 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3076, allocations: 34.64 kB / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/0.3084, allocations: 0.5933 MB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3086, allocations: 0.7677 MB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.3087, allocations: 45.94 kB / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.3088, allocations: 27.44 kB / 0.9908 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.3088, allocations: 3.938 kB / 0.9908 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.007085/0.3159, allocations: 4.617 MB / 0.9953 GB, free: 10.57 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)