Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.701/2.701, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.001405/0.001405, allocations: 179.1 kB / 371.4 MB, free: 10.64 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.047/2.047, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001067/0.001067, allocations: 83.39 kB / 0.7434 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.000484, allocations: 12.72 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1582, allocations: 115.3 MB / 0.9788 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002318/0.1606, allocations: 2.042 MB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.163, allocations: 1.359 MB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.1633, allocations: 11.88 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.1638, allocations: 283.1 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.1644, allocations: 279.3 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.1654, allocations: 331 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000551/0.166, allocations: 439 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1662, allocations: 65.73 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.1666, allocations: 294.9 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.1669, allocations: 254.9 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.1669, allocations: 12 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.1672, allocations: 51.92 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1673, allocations: 171.4 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1674, allocations: 129.3 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.168, allocations: 0.577 MB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.661e-06/0.168, allocations: 0 / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.168, allocations: 4 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.879e-06/0.1681, allocations: 0 / 0.9849 GB, free: 21.83 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0013/0.1694, allocations: 0.8951 MB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1694, allocations: 12.03 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.1695, allocations: 75.02 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009949/0.1706, allocations: 0.597 MB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1706, allocations: 11.94 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.1706, allocations: 12 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1711, allocations: 202.8 kB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1711, allocations: 0 / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.1711, allocations: 8 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-06/0.1712, allocations: 0 / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.1715, allocations: 103.8 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.1729, allocations: 1.048 MB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.1736, allocations: 277.3 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.1737, allocations: 8 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.1741, allocations: 237.6 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 4.056e-06/0.1742, allocations: 0 / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.00119/0.1754, allocations: 416.5 kB / 0.9887 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1754, allocations: 166.1 kB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.1768, allocations: 1.024 MB / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1769, allocations: 33.7 kB / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.1771, allocations: 292.8 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.1772, allocations: 79.08 kB / 0.9902 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1773, allocations: 15.94 kB / 0.9902 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.1773, allocations: 330 kB / 0.9906 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.1778, allocations: 209.2 kB / 0.9908 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.1783, allocations: 299 kB / 0.991 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.1789, allocations: 235.9 kB / 0.9913 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.393e-06/0.1789, allocations: 4 kB / 0.9913 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001416/0.1803, allocations: 0.6736 MB / 0.9919 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1803, allocations: 8 kB / 0.9919 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.1804, allocations: 0 / 0.9919 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1804, allocations: 8 kB / 0.9919 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.1809, allocations: 115.8 kB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.1809, allocations: 7.938 kB / 0.9921 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.1814, allocations: 49.16 kB / 0.9921 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.1814, allocations: 28 kB / 0.9921 GB, free: 14.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003773/0.1818, allocations: 277.6 kB / 0.9924 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.182, allocations: 79.02 kB / 0.9925 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1821, allocations: 69.88 kB / 0.9925 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.425e-06/0.1821, allocations: 4 kB / 0.9925 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.569e-06/0.1821, allocations: 0 / 0.9925 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.917e-06/0.1822, allocations: 8 kB / 0.9925 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.1826, allocations: 465.1 kB / 0.993 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.619e-06/0.1827, allocations: 4 kB / 0.993 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.1828, allocations: 19.98 kB / 0.993 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.485e-06/0.1828, allocations: 0 / 0.993 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.1828, allocations: 15.94 kB / 0.993 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.467e-06/0.1828, allocations: 4 kB / 0.993 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.558e-06/0.1829, allocations: 3.938 kB / 0.993 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.1837, allocations: 438.2 kB / 0.9935 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.1839, allocations: 176.1 kB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1841, allocations: 8 kB / 0.9936 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.1843, allocations: 19.98 kB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.1844, allocations: 23.86 kB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.1845, allocations: 19.98 kB / 0.9937 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000893/0.1854, allocations: 0.6005 MB / 0.9943 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.42e-07/0.1854, allocations: 0 / 0.9943 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006034/0.186, allocations: 112 kB / 0.9944 GB, free: 11.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001633/0.1877, allocations: 486 kB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.1888, allocations: 411.5 kB / 0.9952 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.731e-06/0.1888, allocations: 0 / 0.9952 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.1891, allocations: 103.9 kB / 0.9953 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/0.1901, allocations: 197.9 kB / 0.9955 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1919, allocations: 1.176 MB / 0.9967 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1924, allocations: 0.9406 MB / 0.9976 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003991/0.1928, allocations: 113.5 kB / 0.9977 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.193, allocations: 55.42 kB / 0.9978 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of SimCode: time 1.693e-06/0.193, allocations: 0 / 0.9978 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of Templates: time 0.01753/0.2105, allocations: 7.134 MB / 1.005 GB, free: 1.219 MB / 0.6198 GB