Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.42/2.42, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001445/0.001445, allocations: 174.3 kB / 371.4 MB, free: 10.68 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.053/2.053, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001031/0.00103, allocations: 92.42 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 14.12 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1629, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001431/0.1644, allocations: 1.19 MB / 0.9799 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.1652, allocations: 384.2 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.1653, allocations: 0 / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.1654, allocations: 0 / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1655, allocations: 27.89 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.1662, allocations: 210.9 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1664, allocations: 147.8 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.1665, allocations: 8 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1667, allocations: 167.6 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1669, allocations: 123.7 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.167, allocations: 12 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-05/0.1671, allocations: 8 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.225e-05/0.1672, allocations: 75.78 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.1673, allocations: 65.58 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1675, allocations: 203.8 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1675, allocations: 0 / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1675, allocations: 0 / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.1676, allocations: 0 / 0.9813 GB, free: 25.6 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009934/0.1686, allocations: 0.618 MB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1686, allocations: 12.03 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.1687, allocations: 31.72 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.169, allocations: 258.5 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.1691, allocations: 11.94 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.1692, allocations: 23.98 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.1695, allocations: 145.5 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.295e-06/0.1695, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1695, allocations: 4 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-06/0.1696, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1697, allocations: 43.97 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1701, allocations: 317.3 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.1704, allocations: 134.8 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1705, allocations: 3.984 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.171, allocations: 217.1 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.028e-06/0.171, allocations: 0 / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006871/0.1717, allocations: 269.1 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1718, allocations: 55.41 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1721, allocations: 294.8 kB / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.1722, allocations: 41.69 kB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.1722, allocations: 93.14 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.1723, allocations: 47.5 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1723, allocations: 8 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.1724, allocations: 326.8 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.1727, allocations: 92.17 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.173, allocations: 142.4 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1733, allocations: 157.9 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.1733, allocations: 0 / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008294/0.1741, allocations: 412.7 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.1742, allocations: 75.58 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.329e-06/0.1742, allocations: 4 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1742, allocations: 0 / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1745, allocations: 35.91 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.549e-06/0.1745, allocations: 0 / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.1751, allocations: 79.73 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.1752, allocations: 51.98 kB / 0.9851 GB, free: 21.37 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.0002058/0.1754, allocations: 179.9 kB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.1755, allocations: 27.62 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.1756, allocations: 30.25 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.062e-06/0.1756, allocations: 4 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1756, allocations: 0 / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.811e-06/0.1756, allocations: 4 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008587/0.1765, allocations: 0.5567 MB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1765, allocations: 0 / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.1766, allocations: 15.92 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.43e-06/0.1766, allocations: 0 / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.1766, allocations: 7.984 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.464e-06/0.1766, allocations: 4 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-06/0.1766, allocations: 0 / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.1771, allocations: 336.6 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.1773, allocations: 152.7 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.1774, allocations: 8 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.1777, allocations: 15.98 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.1778, allocations: 15.97 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.1778, allocations: 27.98 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002017/0.178, allocations: 205.9 kB / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.2e-07/0.178, allocations: 4 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004498/0.1785, allocations: 52 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001342/0.1786, allocations: 125.8 kB / 0.9868 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006386/0.1793, allocations: 348.1 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1793, allocations: 0 / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.1795, allocations: 67.91 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1798, allocations: 29.2 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.1806, allocations: 438.9 kB / 0.9877 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1808, allocations: 0.7515 MB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.181, allocations: 41.42 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1812, allocations: 31.42 kB / 0.9885 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of SimCode: time 1.713e-06/0.1812, allocations: 0 / 0.9885 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.008661/0.1899, allocations: 3.897 MB / 0.9923 GB, free: 13.87 MB / 0.6198 GB