Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.698/2.698, allocations: 287.9 MB / 302.9 MB, free: 8.262 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.001406/0.001406, allocations: 178.1 kB / 371.4 MB, free: 10.69 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.17/2.17, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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: 90.91 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004694, allocations: 13.94 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1563, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001684/0.158, allocations: 1.351 MB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008701/0.1589, allocations: 447.8 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.159, allocations: 0 / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.1591, allocations: 3.938 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.1592, allocations: 27.89 kB / 0.9806 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.1599, allocations: 221.8 kB / 0.9808 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1601, allocations: 179.7 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.1602, allocations: 21.44 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1605, allocations: 175.6 kB / 0.9811 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1607, allocations: 131.7 kB / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.1608, allocations: 8 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.1609, allocations: 16 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.161, allocations: 79.78 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.1611, allocations: 73.58 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1614, allocations: 311.5 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.118e-06/0.1614, allocations: 0 / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1614, allocations: 0 / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.611e-06/0.1614, allocations: 0 / 0.9817 GB, free: 25.15 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00103/0.1625, allocations: 0.6452 MB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1625, allocations: 15.95 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.1626, allocations: 43.52 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.163, allocations: 267.2 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.163, allocations: 15.98 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.1631, allocations: 20 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.1635, allocations: 170.7 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1635, allocations: 3.938 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.1636, allocations: 4 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1636, allocations: 8 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.1638, allocations: 55.97 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.165, allocations: 0.5627 MB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.1653, allocations: 138.7 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1654, allocations: 4 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005731/0.1659, allocations: 229.2 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.989e-06/0.166, allocations: 0 / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007141/0.1667, allocations: 286.8 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1667, allocations: 63.41 kB / 0.9842 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1671, allocations: 304.5 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.1672, allocations: 45.69 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.1672, allocations: 97.05 kB / 0.9846 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1673, allocations: 47.44 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.1673, allocations: 8 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.1674, allocations: 330.8 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.1677, allocations: 104.1 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.1681, allocations: 158.3 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1684, allocations: 169.8 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-06/0.1684, allocations: 0 / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008967/0.1693, allocations: 435.1 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.719e-05/0.1694, allocations: 79.33 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.651e-06/0.1694, allocations: 8.172 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1694, allocations: 4 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.1696, allocations: 31.94 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1696, allocations: 3.938 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.1703, allocations: 71.86 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.87e-05/0.1704, allocations: 51.97 kB / 0.986 GB, free: 20.44 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002347/0.1706, allocations: 185.8 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.1707, allocations: 27.62 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.1708, allocations: 34.3 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1708, allocations: 0 / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1708, allocations: 3.953 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-06/0.1708, allocations: 7.969 kB / 0.9863 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009441/0.1718, allocations: 0.5971 MB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-06/0.1718, allocations: 0 / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.1719, allocations: 7.938 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.578e-06/0.1719, allocations: 7.984 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.172, allocations: 19.94 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.418e-06/0.172, allocations: 0 / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.303e-06/0.172, allocations: 7.938 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.1725, allocations: 328.7 kB / 0.9872 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.1728, allocations: 180.7 kB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.1729, allocations: 8 kB / 0.9874 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.1732, allocations: 19.94 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.1733, allocations: 15.97 kB / 0.9874 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.1733, allocations: 31.98 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002249/0.1736, allocations: 223 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.54e-07/0.1736, allocations: 0 / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004757/0.1741, allocations: 59.94 kB / 0.9877 GB, free: 18.6 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0001604/0.1743, allocations: 124.9 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000671/0.1749, allocations: 366.7 kB / 0.9882 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.313e-06/0.175, allocations: 0 / 0.9882 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1751, allocations: 77.36 kB / 0.9883 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1755, allocations: 33.56 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.1763, allocations: 495.5 kB / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1766, allocations: 0.7622 MB / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.1768, allocations: 41.42 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.177, allocations: 31.42 kB / 0.9896 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.799e-06/0.177, allocations: 3.938 kB / 0.9896 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.009444/0.1864, allocations: 4.289 MB / 0.9938 GB, free: 12.35 MB / 0.6198 GB