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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009056/0.009056, allocations: 110.8 kB / 15.06 MB, free: 5.965 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.001095/0.001095, allocations: 178.7 kB / 15.94 MB, free: 5.93 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 1.862/1.862, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.108/2.108, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004638, allocations: 20 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/0.5414, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.7267, allocations: 126.7 MB / 0.8071 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.727, allocations: 75.95 kB / 0.8072 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02133/0.7483, allocations: 4.906 MB / 0.812 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.02e-06/0.7484, allocations: 0 / 0.812 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.7484, allocations: 4 kB / 0.812 GB, free: 10.58 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.00106/0.7495, allocations: 0.603 MB / 0.8126 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7495, allocations: 8.031 kB / 0.8126 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.7496, allocations: 27.77 kB / 0.8126 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.7498, allocations: 197.8 kB / 0.8128 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.7499, allocations: 15.98 kB / 0.8128 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.75, allocations: 23.94 kB / 0.8128 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.7504, allocations: 161.5 kB / 0.813 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7504, allocations: 0 / 0.813 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.7505, allocations: 8 kB / 0.813 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-06/0.7505, allocations: 0 / 0.813 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.7507, allocations: 55.97 kB / 0.813 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.7522, allocations: 0.5668 MB / 0.8136 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.7526, allocations: 130.7 kB / 0.8137 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.7526, allocations: 4 kB / 0.8137 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005341/0.7532, allocations: 220.7 kB / 0.8139 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.868e-06/0.7532, allocations: 0 / 0.8139 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007975/0.754, allocations: 271.9 kB / 0.8142 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.7541, allocations: 67.33 kB / 0.8143 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.7544, allocations: 224 kB / 0.8145 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/0.7545, allocations: 41.69 kB / 0.8145 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.7546, allocations: 101 kB / 0.8146 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.7547, allocations: 43.5 kB / 0.8146 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.7548, allocations: 12 kB / 0.8147 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7549, allocations: 318.8 kB / 0.815 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.7554, allocations: 120.2 kB / 0.8151 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.7558, allocations: 162.4 kB / 0.8152 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.7563, allocations: 172.1 kB / 0.8154 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-06/0.7563, allocations: 0 / 0.8154 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001165/0.7574, allocations: 435 kB / 0.8158 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.7576, allocations: 75.39 kB / 0.8159 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7576, allocations: 7.938 kB / 0.8159 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.7576, allocations: 8.188 kB / 0.8159 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.7578, allocations: 27.92 kB / 0.8159 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.7578, allocations: 3.984 kB / 0.8159 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.7583, allocations: 47.83 kB / 0.816 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7584, allocations: 47.92 kB / 0.816 GB, free: 6.141 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.0002982/0.7587, allocations: 181.7 kB / 0.8162 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.7588, allocations: 15.81 kB / 0.8162 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.7589, allocations: 30.16 kB / 0.8162 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.7589, allocations: 4 kB / 0.8162 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.874e-06/0.7589, allocations: 0 / 0.8162 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-06/0.7589, allocations: 0 / 0.8162 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.76, allocations: 0.5684 MB / 0.8168 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-06/0.76, allocations: 4 kB / 0.8168 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.7601, allocations: 15.98 kB / 0.8168 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.148e-06/0.7601, allocations: 3.938 kB / 0.8168 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.7602, allocations: 15.98 kB / 0.8168 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7602, allocations: 0 / 0.8168 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-06/0.7602, allocations: 3.953 kB / 0.8168 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/0.7608, allocations: 313.3 kB / 0.8171 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.761, allocations: 152.8 kB / 0.8173 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.7611, allocations: 15.94 kB / 0.8173 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.7614, allocations: 19.98 kB / 0.8173 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.7614, allocations: 11.98 kB / 0.8173 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/0.7615, allocations: 31.92 kB / 0.8174 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002313/0.7617, allocations: 176.5 kB / 0.8175 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.48e-07/0.7618, allocations: 0 / 0.8175 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005164/0.7623, allocations: 55.89 kB / 0.8176 GB, free: 4.445 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.0002222/0.7625, allocations: 132.2 kB / 0.8177 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008851/0.7634, allocations: 374.8 kB / 0.8181 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.228e-06/0.7634, allocations: 0 / 0.8181 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.7637, allocations: 71.91 kB / 0.8181 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.764, allocations: 29.53 kB / 0.8182 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.7649, allocations: 400.8 kB / 0.8185 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.7654, allocations: 0.7439 MB / 0.8193 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.7655, allocations: 33.41 kB / 0.8193 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.7657, allocations: 31.42 kB / 0.8193 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/0.7657, allocations: 4 kB / 0.8193 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of Templates: time 0.01095/0.7767, allocations: 4.379 MB / 0.8236 GB, free: 14.21 MB / 0.6511 GB