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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009194/0.009195, allocations: 109.6 kB / 15.05 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.001104/0.001104, allocations: 184.2 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.905/1.905, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.139/2.139, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 12 kB / 0.587 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5466, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.7319, allocations: 126.7 MB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.7321, allocations: 71.95 kB / 0.8072 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02069/0.7528, allocations: 4.894 MB / 0.812 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7529, allocations: 4 kB / 0.812 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.299e-06/0.7529, allocations: 0 / 0.812 GB, free: 10.59 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.001061/0.754, allocations: 0.603 MB / 0.8126 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.754, allocations: 12.03 kB / 0.8126 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.7542, allocations: 31.77 kB / 0.8126 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.7544, allocations: 205.7 kB / 0.8128 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.7544, allocations: 12 kB / 0.8128 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.7545, allocations: 23.98 kB / 0.8128 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.7549, allocations: 157.5 kB / 0.813 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.119e-06/0.755, allocations: 0 / 0.813 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.755, allocations: 3.984 kB / 0.813 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.755, allocations: 4 kB / 0.813 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.7552, allocations: 55.97 kB / 0.813 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.7566, allocations: 0.5591 MB / 0.8136 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.757, allocations: 142.7 kB / 0.8137 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.7571, allocations: 7.922 kB / 0.8137 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005122/0.7576, allocations: 208.8 kB / 0.8139 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.906e-06/0.7576, allocations: 0 / 0.8139 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.000801/0.7584, allocations: 275.5 kB / 0.8142 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.7585, allocations: 55.41 kB / 0.8142 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.7588, allocations: 232 kB / 0.8145 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/0.7589, allocations: 37.7 kB / 0.8145 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.759, allocations: 105 kB / 0.8146 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.7591, allocations: 47.5 kB / 0.8146 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.7591, allocations: 4 kB / 0.8146 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7593, allocations: 326.8 kB / 0.815 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.7597, allocations: 112.2 kB / 0.8151 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.7602, allocations: 170.4 kB / 0.8152 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.7606, allocations: 164.1 kB / 0.8154 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-06/0.7606, allocations: 0 / 0.8154 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001175/0.7618, allocations: 439.6 kB / 0.8158 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.321e-05/0.7619, allocations: 83.56 kB / 0.8159 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7619, allocations: 0 / 0.8159 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7619, allocations: 11.94 kB / 0.8159 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.7621, allocations: 23.92 kB / 0.8159 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.7622, allocations: 4 kB / 0.8159 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.7626, allocations: 43.88 kB / 0.816 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.7627, allocations: 47.94 kB / 0.816 GB, free: 6.148 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.0002725/0.763, allocations: 181.7 kB / 0.8162 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.7631, allocations: 23.75 kB / 0.8162 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.7631, allocations: 22.17 kB / 0.8162 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.7632, allocations: 4 kB / 0.8162 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7632, allocations: 0 / 0.8162 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-06/0.7632, allocations: 0 / 0.8162 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.7642, allocations: 0.584 MB / 0.8168 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-06/0.7643, allocations: 0 / 0.8168 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.7643, allocations: 4 kB / 0.8168 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.264e-06/0.7644, allocations: 4 kB / 0.8168 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.7644, allocations: 15.91 kB / 0.8168 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.841e-06/0.7644, allocations: 0 / 0.8168 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.268e-06/0.7644, allocations: 3.953 kB / 0.8168 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.765, allocations: 321.4 kB / 0.8171 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.7653, allocations: 152.8 kB / 0.8173 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.7654, allocations: 19.98 kB / 0.8173 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.7656, allocations: 4 kB / 0.8173 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.7657, allocations: 19.97 kB / 0.8173 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.7657, allocations: 27.94 kB / 0.8173 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002281/0.766, allocations: 176.5 kB / 0.8175 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.88e-07/0.766, allocations: 0 / 0.8175 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004943/0.7665, allocations: 59.91 kB / 0.8176 GB, free: 4.449 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.0002142/0.7667, allocations: 132.2 kB / 0.8177 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008581/0.7676, allocations: 374.8 kB / 0.8181 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.184e-06/0.7676, allocations: 0 / 0.8181 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.7678, allocations: 75.89 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.0003118/0.7682, allocations: 24.36 kB / 0.8182 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.769, allocations: 409.3 kB / 0.8185 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.7695, allocations: 0.7439 MB / 0.8193 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.7697, allocations: 33.42 kB / 0.8193 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.7698, allocations: 35.41 kB / 0.8193 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of SimCode: time 1.553e-06/0.7699, allocations: 0 / 0.8193 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of Templates: time 0.01084/0.7807, allocations: 4.381 MB / 0.8236 GB, free: 14.2 MB / 0.6511 GB