Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 288.4 MB / 303.4 MB, free: 8.258 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.001003/0.001004, allocations: 185.3 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.823/1.823, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.001075/0.001074, allocations: 96.97 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004399, allocations: 12.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2749, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001014/0.276, allocations: 0.5445 MB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2778, allocations: 1.419 MB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.2779, allocations: 4 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.2783, allocations: 179.5 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2784, allocations: 111.7 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.2793, allocations: 324.3 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005823/0.2799, allocations: 0.655 MB / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.2801, allocations: 84.42 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.2804, allocations: 295.4 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.2806, allocations: 231.3 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2808, allocations: 19.94 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.281, allocations: 71.94 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.2813, allocations: 311.3 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2814, allocations: 85.52 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.2819, allocations: 0.7018 MB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.282, allocations: 0 / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.544e-06/0.282, allocations: 0 / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.282, allocations: 0 / 0.9845 GB, free: 22.63 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.001132/0.2831, allocations: 0.7048 MB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2832, allocations: 8.031 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2833, allocations: 51.44 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.284, allocations: 0.5244 MB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.284, allocations: 24.23 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.2841, allocations: 36 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.2845, allocations: 311.5 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2845, allocations: 0 / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.2845, allocations: 8 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2845, allocations: 0 / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.2848, allocations: 223.8 kB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.2864, allocations: 1.187 MB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.287, allocations: 467.8 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.2872, allocations: 178.6 kB / 0.9881 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.2872, allocations: 0 / 0.9881 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.2876, allocations: 336.6 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.2876, allocations: 0 / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0008966/0.2885, allocations: 0.6301 MB / 0.989 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.2886, allocations: 114.8 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.2891, allocations: 0.5956 MB / 0.9897 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/0.2892, allocations: 41.7 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2894, allocations: 242.5 kB / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.2895, allocations: 47.41 kB / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.2895, allocations: 8 kB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2896, allocations: 354.8 kB / 0.9904 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2898, allocations: 131.8 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.2904, allocations: 0.7134 MB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.2906, allocations: 179.8 kB / 0.9914 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2906, allocations: 4 kB / 0.9914 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005173/0.2911, allocations: 421 kB / 0.9918 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2911, allocations: 8.031 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2912, allocations: 4 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2912, allocations: 8 kB / 0.9918 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.2913, allocations: 27.92 kB / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.2914, allocations: 11.98 kB / 0.9919 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.2926, allocations: 131.5 kB / 0.992 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.2927, allocations: 15.98 kB / 0.992 GB, free: 14.5 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.0002502/0.2929, allocations: 265.8 kB / 0.9922 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.293, allocations: 47.38 kB / 0.9923 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.2931, allocations: 47.38 kB / 0.9923 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2931, allocations: 8 kB / 0.9923 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2931, allocations: 4 kB / 0.9923 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2931, allocations: 7.984 kB / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.2934, allocations: 397.4 kB / 0.9927 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2934, allocations: 3.953 kB / 0.9927 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.2934, allocations: 7.984 kB / 0.9927 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2934, allocations: 0 / 0.9927 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2935, allocations: 8 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2935, allocations: 4 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2935, allocations: 0 / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.294, allocations: 0.5175 MB / 0.9933 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.2941, allocations: 144.5 kB / 0.9934 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.2942, allocations: 4 kB / 0.9934 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2943, allocations: 19.97 kB / 0.9934 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.2944, allocations: 31.97 kB / 0.9935 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.2944, allocations: 11.98 kB / 0.9935 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003828/0.2948, allocations: 439 kB / 0.9939 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2948, allocations: 3.938 kB / 0.9939 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000404/0.2952, allocations: 115.8 kB / 0.994 GB, free: 12.34 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.0002383/0.2955, allocations: 145.4 kB / 0.9941 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.296, allocations: 343.9 kB / 0.9945 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.296, allocations: 4 kB / 0.9945 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.2962, allocations: 187.8 kB / 0.9946 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2965, allocations: 38.7 kB / 0.9947 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2975, allocations: 0.8935 MB / 0.9956 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2978, allocations: 0.8386 MB / 0.9964 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.298, allocations: 94.88 kB / 0.9965 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.2981, allocations: 35.42 kB / 0.9965 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2981, allocations: 4 kB / 0.9965 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of Templates: time 0.01/0.3081, allocations: 7.342 MB / 1.004 GB, free: 2.422 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)