Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.938/2.938, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.00148/0.00148, allocations: 178.5 kB / 371 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.28/2.28, allocations: 205.4 MB / 0.6297 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.001447/0.001447, allocations: 90.34 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008383/0.0008391, allocations: 16.41 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2595, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001079/0.2607, allocations: 0.5481 MB / 0.9789 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2629, allocations: 1.419 MB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.263, allocations: 4 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.2635, allocations: 183.5 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2637, allocations: 111.7 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.265, allocations: 319.3 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009695/0.266, allocations: 0.6512 MB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.2662, allocations: 84.44 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.2667, allocations: 299.4 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.2671, allocations: 231.3 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.2673, allocations: 16 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.2677, allocations: 79.88 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.2683, allocations: 299.4 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.2685, allocations: 89.52 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.2698, allocations: 0.7055 MB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.2699, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2699, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.2699, allocations: 4 kB / 0.9833 GB, free: 23.28 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002443/0.2724, allocations: 0.7047 MB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.2725, allocations: 12.03 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.2729, allocations: 55.39 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.2745, allocations: 0.5128 MB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.2746, allocations: 28.22 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.2749, allocations: 39.94 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.2758, allocations: 301.7 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2759, allocations: 0 / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.2759, allocations: 4 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.276, allocations: 4 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.2767, allocations: 219.8 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.2808, allocations: 1.191 MB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2823, allocations: 475.7 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.2828, allocations: 178.6 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2829, allocations: 0 / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008433/0.2837, allocations: 329.5 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 4.859e-06/0.2838, allocations: 0 / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.00223/0.286, allocations: 0.6186 MB / 0.9878 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.2861, allocations: 122.7 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.2876, allocations: 0.5916 MB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.288, allocations: 49.7 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.2884, allocations: 226.8 kB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2886, allocations: 55.41 kB / 0.9888 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2886, allocations: 4 kB / 0.9888 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2888, allocations: 366.8 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.2892, allocations: 131.7 kB / 0.9893 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.2908, allocations: 0.7097 MB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.2914, allocations: 175.8 kB / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.2914, allocations: 0 / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001465/0.2929, allocations: 412.7 kB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.293, allocations: 8.375 kB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.293, allocations: 11.98 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.293, allocations: 4 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.2934, allocations: 35.86 kB / 0.9906 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.2934, allocations: 4.234 kB / 0.9906 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.2963, allocations: 143.5 kB / 0.9907 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.2964, allocations: 8 kB / 0.9908 GB, free: 15.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0005315/0.2969, allocations: 261.6 kB / 0.991 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.2971, allocations: 43.44 kB / 0.991 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.2972, allocations: 55.36 kB / 0.9911 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2972, allocations: 8 kB / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2972, allocations: 256 / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2972, allocations: 0 / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.2977, allocations: 417.2 kB / 0.9915 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2977, allocations: 4 kB / 0.9915 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.2978, allocations: 3.938 kB / 0.9915 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2978, allocations: 4 kB / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.2978, allocations: 11.98 kB / 0.9915 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2979, allocations: 3.984 kB / 0.9915 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2979, allocations: 4 kB / 0.9915 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.2988, allocations: 0.5134 MB / 0.992 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.299, allocations: 144.5 kB / 0.9922 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.2991, allocations: 7.984 kB / 0.9922 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.2994, allocations: 15.98 kB / 0.9922 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2995, allocations: 27.97 kB / 0.9922 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.2996, allocations: 15.98 kB / 0.9922 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006859/0.3003, allocations: 435 kB / 0.9927 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3003, allocations: 0 / 0.9927 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007438/0.3011, allocations: 115.8 kB / 0.9928 GB, free: 13 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003163/0.3014, allocations: 145.4 kB / 0.9929 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009267/0.3023, allocations: 352.1 kB / 0.9932 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3024, allocations: 3.938 kB / 0.9932 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.3028, allocations: 187.8 kB / 0.9934 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.3033, allocations: 41.91 kB / 0.9935 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.305, allocations: 0.8825 MB / 0.9943 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3054, allocations: 0.8425 MB / 0.9951 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004716/0.3058, allocations: 94.92 kB / 0.9952 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.306, allocations: 31.44 kB / 0.9953 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.333e-06/0.306, allocations: 0 / 0.9953 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.0192/0.3252, allocations: 7.355 MB / 1.002 GB, free: 3.055 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)