Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.599/2.599, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001403, allocations: 182.2 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 88.41 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004706, allocations: 15.44 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1618, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001436/0.1633, allocations: 0.5637 MB / 0.9793 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.1665, allocations: 1.384 MB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1667, allocations: 7.938 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.1674, allocations: 187.5 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1677, allocations: 103.8 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.1697, allocations: 303.1 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1708, allocations: 0.4953 MB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.1711, allocations: 80.42 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.1717, allocations: 299.4 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.1723, allocations: 211.5 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.1725, allocations: 16 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.173, allocations: 75.94 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006955/0.1737, allocations: 303.3 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1739, allocations: 89.52 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1752, allocations: 0.6978 MB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.645e-06/0.1752, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.699e-06/0.1752, allocations: 4 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1753, allocations: 0 / 0.9834 GB, free: 23.37 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.002196/0.1775, allocations: 0.6983 MB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1775, allocations: 12.03 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.178, allocations: 59.39 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.1797, allocations: 0.5206 MB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.1798, allocations: 24.23 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/0.1801, allocations: 40 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1811, allocations: 309.5 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1812, allocations: 0 / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.1812, allocations: 7.984 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1813, allocations: 4 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.1821, allocations: 223.8 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.1863, allocations: 1.191 MB / 0.9864 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.1878, allocations: 468 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1879, allocations: 0 / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009543/0.1888, allocations: 336.6 kB / 0.9872 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 4.495e-06/0.1889, allocations: 4 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.002417/0.1913, allocations: 0.6179 MB / 0.9878 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.1914, allocations: 118.8 kB / 0.9879 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.193, allocations: 0.5954 MB / 0.9885 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.1933, allocations: 45.7 kB / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.1938, allocations: 226.8 kB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.1939, allocations: 55.34 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.194, allocations: 4 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1941, allocations: 362.8 kB / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.1946, allocations: 131.8 kB / 0.9893 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.1962, allocations: 0.7136 MB / 0.99 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.1968, allocations: 167.8 kB / 0.9902 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.607e-06/0.1968, allocations: 0 / 0.9902 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00161/0.1985, allocations: 428.8 kB / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1985, allocations: 4 kB / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.1986, allocations: 4 kB / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.1986, allocations: 8 kB / 0.9906 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.199, allocations: 27.92 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.199, allocations: 11.92 kB / 0.9906 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.2018, allocations: 147.5 kB / 0.9908 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.2019, allocations: 12 kB / 0.9908 GB, free: 15.41 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.0006854/0.2026, allocations: 269.6 kB / 0.991 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.2028, allocations: 43.44 kB / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.203, allocations: 47.38 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.203, allocations: 4 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.986e-06/0.2031, allocations: 0 / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2031, allocations: 3.984 kB / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.2039, allocations: 410 kB / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.268e-06/0.204, allocations: 0 / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.204, allocations: 11.92 kB / 0.9915 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.2041, allocations: 4.25 kB / 0.9915 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.2041, allocations: 11.94 kB / 0.9915 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.2041, allocations: 8 kB / 0.9916 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.755e-06/0.2042, allocations: 0 / 0.9916 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2058, allocations: 0.5442 MB / 0.9921 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.2061, allocations: 132.6 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.2063, allocations: 7.938 kB / 0.9922 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.2067, allocations: 23.97 kB / 0.9922 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.2069, allocations: 23.97 kB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/0.207, allocations: 19.98 kB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001165/0.2082, allocations: 435 kB / 0.9927 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.123e-06/0.2082, allocations: 0 / 0.9927 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001314/0.2095, allocations: 107.8 kB / 0.9928 GB, free: 13.22 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.0003997/0.2099, allocations: 153.4 kB / 0.9929 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.2113, allocations: 350.1 kB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.724e-06/0.2113, allocations: 0.75 kB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.212, allocations: 187.9 kB / 0.9935 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.2126, allocations: 33.97 kB / 0.9935 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.2154, allocations: 0.8783 MB / 0.9944 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.216, allocations: 0.8503 MB / 0.9952 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007327/0.2168, allocations: 100.9 kB / 0.9953 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.217, allocations: 35.42 kB / 0.9953 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.17e-06/0.2171, allocations: 0 / 0.9953 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.02219/0.2393, allocations: 7.347 MB / 1.002 GB, free: 3.297 MB / 0.6198 GB