Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00902/0.00902, allocations: 110.9 kB / 15.06 MB, free: 6.008 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001161/0.001161, allocations: 181.9 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.03/2.03, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.116/2.116, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004568, allocations: 16 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5291/0.5295, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.7137, allocations: 126.7 MB / 0.8071 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.714, allocations: 71.95 kB / 0.8071 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02043/0.7344, allocations: 4.891 MB / 0.8119 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.379e-06/0.7345, allocations: 4 kB / 0.8119 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.7345, allocations: 4 kB / 0.8119 GB, free: 10.64 MB / 0.6355 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.001065/0.7356, allocations: 0.5952 MB / 0.8125 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.7356, allocations: 8.031 kB / 0.8125 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.7358, allocations: 27.77 kB / 0.8125 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.736, allocations: 197.8 kB / 0.8127 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.736, allocations: 19.98 kB / 0.8127 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.7361, allocations: 20 kB / 0.8128 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.7365, allocations: 161.5 kB / 0.8129 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7366, allocations: 0 / 0.8129 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.7366, allocations: 4 kB / 0.8129 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-06/0.7366, allocations: 0 / 0.8129 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.7368, allocations: 63.95 kB / 0.813 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.7382, allocations: 0.5707 MB / 0.8135 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.7386, allocations: 134.7 kB / 0.8137 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.7386, allocations: 4 kB / 0.8137 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005297/0.7392, allocations: 212.8 kB / 0.8139 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.448e-06/0.7392, allocations: 0 / 0.8139 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0008419/0.7401, allocations: 279.5 kB / 0.8141 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.7401, allocations: 59.39 kB / 0.8142 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.7405, allocations: 228 kB / 0.8144 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.7406, allocations: 41.69 kB / 0.8145 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.7407, allocations: 101 kB / 0.8145 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.7408, allocations: 39.52 kB / 0.8146 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.7408, allocations: 8 kB / 0.8146 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.741, allocations: 322.8 kB / 0.8149 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.7414, allocations: 120.2 kB / 0.815 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.7418, allocations: 166.4 kB / 0.8152 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.7423, allocations: 172 kB / 0.8153 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-06/0.7423, allocations: 0 / 0.8153 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001181/0.7435, allocations: 439 kB / 0.8158 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/0.7436, allocations: 75.39 kB / 0.8158 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7436, allocations: 4 kB / 0.8158 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.7436, allocations: 4 kB / 0.8158 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.7438, allocations: 32.09 kB / 0.8159 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.7439, allocations: 0 / 0.8159 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.7443, allocations: 47.88 kB / 0.8159 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.7444, allocations: 47.94 kB / 0.816 GB, free: 6.207 MB / 0.6355 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.0002903/0.7447, allocations: 177.7 kB / 0.8161 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.7448, allocations: 19.8 kB / 0.8161 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.7449, allocations: 26.17 kB / 0.8162 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-06/0.7449, allocations: 0 / 0.8162 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.685e-06/0.7449, allocations: 8 kB / 0.8162 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-06/0.7449, allocations: 0 / 0.8162 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.746, allocations: 0.5723 MB / 0.8167 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.813e-06/0.746, allocations: 7.938 kB / 0.8167 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.7461, allocations: 7.984 kB / 0.8168 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.926e-06/0.7461, allocations: 4 kB / 0.8168 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.7462, allocations: 11.98 kB / 0.8168 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.466e-06/0.7462, allocations: 3.984 kB / 0.8168 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.262e-06/0.7462, allocations: 3.953 kB / 0.8168 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.7468, allocations: 317.4 kB / 0.8171 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.7471, allocations: 156.8 kB / 0.8172 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.7471, allocations: 12 kB / 0.8172 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.7474, allocations: 19.92 kB / 0.8173 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.7475, allocations: 15.98 kB / 0.8173 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.7475, allocations: 27.92 kB / 0.8173 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002408/0.7478, allocations: 180.5 kB / 0.8175 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.53e-07/0.7478, allocations: 0 / 0.8175 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005247/0.7483, allocations: 55.91 kB / 0.8175 GB, free: 4.504 MB / 0.6355 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.0002321/0.7486, allocations: 136 kB / 0.8177 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008725/0.7495, allocations: 366.8 kB / 0.818 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.419e-06/0.7495, allocations: 0 / 0.818 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.7497, allocations: 75.91 kB / 0.8181 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.7501, allocations: 24.41 kB / 0.8181 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.751, allocations: 405.3 kB / 0.8185 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.7514, allocations: 0.74 MB / 0.8192 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.7517, allocations: 37.41 kB / 0.8192 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.7518, allocations: 31.42 kB / 0.8193 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of SimCode: time 1.453e-06/0.7518, allocations: 0 / 0.8193 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of Templates: time 0.01089/0.7627, allocations: 4.369 MB / 0.8235 GB, free: 14.28 MB / 0.6511 GB