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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01114/0.01115, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001224/0.001224, allocations: 186.3 kB / 15.95 MB, free: 5.898 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.222/2.222, 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.405/2.405, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005018, allocations: 16 kB / 0.5871 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6942, allocations: 98.72 MB / 0.6835 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.9277, allocations: 126.7 MB / 0.8071 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.928, allocations: 75.95 kB / 0.8072 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0238/0.9518, allocations: 4.892 MB / 0.812 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9519, allocations: 0 / 0.812 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.9519, allocations: 4 kB / 0.812 GB, free: 10.54 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.001321/0.9532, allocations: 0.6031 MB / 0.8126 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.9533, allocations: 8.031 kB / 0.8126 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.9534, allocations: 42.55 kB / 0.8126 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.9535, allocations: 31.7 kB / 0.8127 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.9537, allocations: 201.8 kB / 0.8129 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.9538, allocations: 11.98 kB / 0.8129 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.9539, allocations: 20 kB / 0.8129 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.9544, allocations: 162.2 kB / 0.813 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9545, allocations: 0 / 0.813 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.9545, allocations: 8 kB / 0.8131 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9545, allocations: 4 kB / 0.8131 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.9548, allocations: 55.97 kB / 0.8131 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.9565, allocations: 0.5627 MB / 0.8137 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.957, allocations: 138.6 kB / 0.8138 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.9571, allocations: 4 kB / 0.8138 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005987/0.9577, allocations: 203.6 kB / 0.814 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/0.9577, allocations: 0 / 0.814 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001012/0.9587, allocations: 277.1 kB / 0.8143 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.9588, allocations: 71.5 kB / 0.8143 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.9592, allocations: 228 kB / 0.8145 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.493e-05/0.9593, allocations: 41.69 kB / 0.8146 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.9594, allocations: 97.08 kB / 0.8147 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.9595, allocations: 39.52 kB / 0.8147 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.9596, allocations: 8 kB / 0.8147 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9597, allocations: 318.8 kB / 0.815 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.9602, allocations: 120.2 kB / 0.8151 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.9608, allocations: 166.4 kB / 0.8153 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.9612, allocations: 172 kB / 0.8155 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.9613, allocations: 0 / 0.8155 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001445/0.9627, allocations: 443 kB / 0.8159 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.9628, allocations: 75.39 kB / 0.816 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.9629, allocations: 4 kB / 0.816 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.9629, allocations: 4 kB / 0.816 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.9632, allocations: 27.92 kB / 0.816 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.9632, allocations: 7.969 kB / 0.816 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.9639, allocations: 52.03 kB / 0.816 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.964, allocations: 43.97 kB / 0.8161 GB, free: 6.039 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.0003384/0.9643, allocations: 181.7 kB / 0.8163 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.9644, allocations: 19.72 kB / 0.8163 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.9645, allocations: 22.19 kB / 0.8163 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9645, allocations: 3.984 kB / 0.8163 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9645, allocations: 4 kB / 0.8163 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.9645, allocations: 4 kB / 0.8163 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.9657, allocations: 0.566 MB / 0.8169 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9658, allocations: 11.88 kB / 0.8169 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.9658, allocations: 7.984 kB / 0.8169 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.9659, allocations: 0 / 0.8169 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.9659, allocations: 15.98 kB / 0.8169 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.9659, allocations: 0 / 0.8169 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9659, allocations: 3.953 kB / 0.8169 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.9666, allocations: 322.3 kB / 0.8172 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.9669, allocations: 156.8 kB / 0.8174 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.967, allocations: 8 kB / 0.8174 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.9673, allocations: 15.98 kB / 0.8174 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.9674, allocations: 15.94 kB / 0.8174 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.9675, allocations: 27.97 kB / 0.8174 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002501/0.9677, allocations: 176.5 kB / 0.8176 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9677, allocations: 0 / 0.8176 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005693/0.9683, allocations: 60.14 kB / 0.8177 GB, free: 4.344 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.00112/0.9695, allocations: 0.8814 MB / 0.8185 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.9707, allocations: 374.9 kB / 0.8189 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9707, allocations: 4.125 kB / 0.8189 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.971, allocations: 69.53 kB / 0.8189 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.9714, allocations: 29.53 kB / 0.819 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.9735, allocations: 1.567 MB / 0.8205 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.974, allocations: 0.7438 MB / 0.8212 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.9743, allocations: 37.42 kB / 0.8213 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.9745, allocations: 39.42 kB / 0.8213 GB, free: 472 kB / 0.6355 GB Notification: Performance of SimCode: time 1.573e-06/0.9745, allocations: 0 / 0.8213 GB, free: 472 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/1.004, allocations: 5.536 MB / 0.8267 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/1.004, allocations: 207.2 kB / 0.8269 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.546, allocations: 0 / 0.8269 GB, free: 10.84 MB / 0.6511 GB