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.004182/0.004187, allocations: 233.8 kB / 15.82 MB, free: 6.297 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.001128/0.001128, allocations: 174.2 kB / 16.7 MB, free: 5.457 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 4.04/4.04, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.15/4.15, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004694, allocations: 20 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1713, allocations: 98.72 MB / 1.105 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7646/0.936, allocations: 126.7 MB / 1.228 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.9363, allocations: 81.09 kB / 1.228 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02346/0.9598, allocations: 4.9 MB / 1.233 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9599, allocations: 0 / 1.233 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.9599, allocations: 4 kB / 1.233 GB, free: 23.99 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.001379/0.9613, allocations: 0.6032 MB / 1.234 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.9614, allocations: 8.031 kB / 1.234 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.9616, allocations: 28.97 kB / 1.234 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.9618, allocations: 203.9 kB / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.9618, allocations: 13.98 kB / 1.234 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.962, allocations: 22.94 kB / 1.234 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.9624, allocations: 161.9 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9624, allocations: 0 / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.9625, allocations: 6.906 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.9625, allocations: 0 / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.9628, allocations: 59.88 kB / 1.234 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.9645, allocations: 0.5637 MB / 1.235 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.965, allocations: 136 kB / 1.235 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.9652, allocations: 63.02 kB / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.9652, allocations: 4 kB / 1.235 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.9658, allocations: 209.8 kB / 1.235 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.434e-06/0.9658, allocations: 0 / 1.235 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009745/0.9668, allocations: 272.8 kB / 1.236 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.9669, allocations: 64.83 kB / 1.236 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.9672, allocations: 251.1 kB / 1.236 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.9674, allocations: 44.17 kB / 1.236 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.9675, allocations: 99.44 kB / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.9676, allocations: 41.05 kB / 1.236 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.9676, allocations: 9.969 kB / 1.236 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9678, allocations: 324 kB / 1.236 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.9683, allocations: 117.2 kB / 1.236 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.9687, allocations: 173.7 kB / 1.237 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.9691, allocations: 165.5 kB / 1.237 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9692, allocations: 0 / 1.237 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001204/0.9704, allocations: 440.7 kB / 1.237 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.9705, allocations: 83.3 kB / 1.237 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.9705, allocations: 5.859 kB / 1.237 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.9705, allocations: 4 kB / 1.237 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.9708, allocations: 32.22 kB / 1.237 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.9709, allocations: 0 / 1.237 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/0.9715, allocations: 54.34 kB / 1.237 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.9716, allocations: 42.05 kB / 1.237 GB, free: 20.63 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.0003287/0.972, allocations: 175.3 kB / 1.238 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.972, allocations: 15.81 kB / 1.238 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.9721, allocations: 27.19 kB / 1.238 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.9721, allocations: 5.062 kB / 1.238 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9721, allocations: 0 / 1.238 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9721, allocations: 4.125 kB / 1.238 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.9732, allocations: 0.5738 MB / 1.238 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.9732, allocations: 0 / 1.238 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.9733, allocations: 9.859 kB / 1.238 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.9733, allocations: 3.938 kB / 1.238 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.9733, allocations: 14.55 kB / 1.238 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.9734, allocations: 3.953 kB / 1.238 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9734, allocations: 0 / 1.238 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.9744, allocations: 326.4 kB / 1.239 GB, free: 35.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.9747, allocations: 155.8 kB / 1.239 GB, free: 35.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.9748, allocations: 11.19 kB / 1.239 GB, free: 35.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.9751, allocations: 11.14 kB / 1.239 GB, free: 35.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.9752, allocations: 20.56 kB / 1.239 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.9752, allocations: 28.8 kB / 1.239 GB, free: 35.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002292/0.9755, allocations: 177.9 kB / 1.239 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9755, allocations: 3.094 kB / 1.239 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005643/0.9761, allocations: 56.23 kB / 1.239 GB, free: 35.38 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.0002124/0.9763, allocations: 128.8 kB / 1.239 GB, free: 35.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009363/0.9772, allocations: 373.3 kB / 1.239 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9773, allocations: 3 kB / 1.239 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.9775, allocations: 77.45 kB / 1.24 GB, free: 34.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.978, allocations: 28.88 kB / 1.24 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.979, allocations: 411.1 kB / 1.24 GB, free: 34.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.9793, allocations: 0.7393 MB / 1.241 GB, free: 33.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.9796, allocations: 34.92 kB / 1.241 GB, free: 33.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.9797, allocations: 31.66 kB / 1.241 GB, free: 33.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/0.9797, allocations: 0 / 1.241 GB, free: 33.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.01118/0.9909, allocations: 4.375 MB / 1.245 GB, free: 29.98 MB / 0.6355 GB