Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.623/2.623, 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.001438/0.001438, allocations: 190.7 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.02/2.02, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001018/0.001018, allocations: 101 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004839, allocations: 17.88 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1615, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001527/0.1631, allocations: 1.351 MB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.1639, allocations: 439.1 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.164, allocations: 4 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.1641, allocations: 7.922 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1642, allocations: 27.95 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.1649, allocations: 213.4 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1651, allocations: 179.7 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.1652, allocations: 25.42 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.1655, allocations: 171.6 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1657, allocations: 127.6 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.1658, allocations: 12 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.1658, allocations: 8 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.1659, allocations: 91.7 kB / 0.9814 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.166, allocations: 73.58 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1663, allocations: 315.5 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.46e-06/0.1663, allocations: 0 / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.911e-06/0.1663, allocations: 0 / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.484e-06/0.1663, allocations: 0 / 0.9817 GB, free: 25.12 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.0009749/0.1673, allocations: 0.6374 MB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1674, allocations: 16.02 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1675, allocations: 43.58 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1678, allocations: 275.1 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.1679, allocations: 12 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/0.168, allocations: 19.98 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.1684, allocations: 175.7 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-06/0.1684, allocations: 0 / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.1684, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-06/0.1684, allocations: 0 / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.1686, allocations: 63.97 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1698, allocations: 0.5704 MB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.1702, allocations: 134.7 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1702, allocations: 0 / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005458/0.1708, allocations: 229.4 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.711e-06/0.1708, allocations: 0 / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007445/0.1715, allocations: 290.7 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1716, allocations: 59.41 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.1719, allocations: 312.5 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.172, allocations: 37.69 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1721, allocations: 101 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.1721, allocations: 47.44 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1722, allocations: 8 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.1723, allocations: 330.8 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.1726, allocations: 104.2 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.1729, allocations: 158.4 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.1732, allocations: 165.8 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1732, allocations: 4 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009001/0.1742, allocations: 439.1 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.1742, allocations: 75.39 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.074e-06/0.1743, allocations: 0 / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1743, allocations: 4 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1745, allocations: 39.98 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.36e-06/0.1745, allocations: 4 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.1751, allocations: 67.86 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-05/0.1752, allocations: 55.98 kB / 0.986 GB, free: 20.41 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.0002341/0.1755, allocations: 189.7 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1756, allocations: 27.62 kB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.1756, allocations: 34.36 kB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.123e-06/0.1757, allocations: 4 kB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.996e-06/0.1757, allocations: 3.953 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-06/0.1757, allocations: 7.969 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.1766, allocations: 0.5896 MB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1766, allocations: 0 / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.1767, allocations: 12 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.25e-06/0.1767, allocations: 0 / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.1767, allocations: 19.92 kB / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.398e-06/0.1768, allocations: 3.938 kB / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.067e-06/0.1768, allocations: 0 / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.1773, allocations: 326.9 kB / 0.9872 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.1775, allocations: 184.7 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.1776, allocations: 16 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1779, allocations: 15.94 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.178, allocations: 19.97 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.178, allocations: 27.98 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002327/0.1783, allocations: 227 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.92e-07/0.1783, allocations: 0 / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004607/0.1787, allocations: 51.94 kB / 0.9877 GB, free: 18.57 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.000154/0.1789, allocations: 125 kB / 0.9879 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.1796, allocations: 368.2 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1796, allocations: 4 kB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1798, allocations: 71.91 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1801, allocations: 30.05 kB / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.181, allocations: 489.5 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1812, allocations: 0.7679 MB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.1814, allocations: 37.42 kB / 0.9896 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.1816, allocations: 43.36 kB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.448e-06/0.1816, allocations: 0 / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.009363/0.191, allocations: 4.282 MB / 0.9938 GB, free: 12.36 MB / 0.6198 GB