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.004184/0.004189, allocations: 231.9 kB / 15.83 MB, free: 6.289 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.001184/0.001183, allocations: 173.8 kB / 16.7 MB, free: 5.449 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 3.935/3.935, allocations: 389.1 MB / 406.5 MB, free: 11.75 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.037/4.037, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004967, allocations: 12.22 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1708, allocations: 98.73 MB / 1.105 GB, free: 42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7793/0.9502, allocations: 126.7 MB / 1.228 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.9505, allocations: 78.89 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0224/0.973, allocations: 4.894 MB / 1.233 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.973, allocations: 0 / 1.233 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.973, allocations: 4 kB / 1.233 GB, free: 24.05 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.001119/0.9742, allocations: 0.6018 MB / 1.234 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.9742, allocations: 12.03 kB / 1.234 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.9743, allocations: 23.81 kB / 1.234 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.9745, allocations: 205.7 kB / 1.234 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.9745, allocations: 14.39 kB / 1.234 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.9747, allocations: 25.64 kB / 1.234 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.9751, allocations: 163.6 kB / 1.234 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.9751, allocations: 2.906 kB / 1.234 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.9752, allocations: 9.562 kB / 1.234 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.9752, allocations: 0 / 1.234 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.9754, allocations: 57.86 kB / 1.234 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.977, allocations: 0.5579 MB / 1.235 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.9774, allocations: 135.9 kB / 1.235 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.9776, allocations: 58.2 kB / 1.235 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.9776, allocations: 7.938 kB / 1.235 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/0.9782, allocations: 214.9 kB / 1.235 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.484e-06/0.9782, allocations: 0 / 1.235 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008279/0.979, allocations: 276.6 kB / 1.236 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.9791, allocations: 70.41 kB / 1.236 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.9794, allocations: 248.9 kB / 1.236 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.9795, allocations: 42.3 kB / 1.236 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.9796, allocations: 94.73 kB / 1.236 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.9797, allocations: 46.09 kB / 1.236 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.9798, allocations: 7.5 kB / 1.236 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9799, allocations: 326.9 kB / 1.236 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.9803, allocations: 110.5 kB / 1.236 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.9808, allocations: 172.7 kB / 1.237 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.9812, allocations: 170.5 kB / 1.237 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9812, allocations: 0 / 1.237 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001156/0.9824, allocations: 438.7 kB / 1.237 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/0.9825, allocations: 79.48 kB / 1.237 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9825, allocations: 6.844 kB / 1.237 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.9825, allocations: 4 kB / 1.237 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.9828, allocations: 29.22 kB / 1.237 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.9828, allocations: 4.516 kB / 1.237 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.9834, allocations: 51.03 kB / 1.237 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.9836, allocations: 46.2 kB / 1.237 GB, free: 20.7 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.0003047/0.9839, allocations: 173 kB / 1.238 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.9839, allocations: 15.81 kB / 1.238 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.984, allocations: 28.31 kB / 1.238 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.984, allocations: 4.938 kB / 1.238 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.984, allocations: 2.812 kB / 1.238 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.9841, allocations: 0 / 1.238 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.985, allocations: 0.5758 MB / 1.238 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9851, allocations: 4 kB / 1.238 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.9851, allocations: 7.141 kB / 1.238 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9852, allocations: 0 / 1.238 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.9852, allocations: 17.33 kB / 1.238 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.9852, allocations: 3.953 kB / 1.238 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9852, allocations: 0 / 1.238 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.9862, allocations: 320.2 kB / 1.239 GB, free: 35.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.9864, allocations: 151.5 kB / 1.239 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.9865, allocations: 11 kB / 1.239 GB, free: 35.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.9868, allocations: 18.75 kB / 1.239 GB, free: 35.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.9869, allocations: 21.5 kB / 1.239 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.9869, allocations: 24.58 kB / 1.239 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002125/0.9872, allocations: 181.1 kB / 1.239 GB, free: 35.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9872, allocations: 0 / 1.239 GB, free: 35.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005909/0.9878, allocations: 54.75 kB / 1.239 GB, free: 35.44 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.0001996/0.988, allocations: 135.6 kB / 1.239 GB, free: 35.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000895/0.9889, allocations: 370.2 kB / 1.239 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9889, allocations: 3.938 kB / 1.239 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.9891, allocations: 74.02 kB / 1.24 GB, free: 35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.9897, allocations: 35.39 kB / 1.24 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.9905, allocations: 407.8 kB / 1.24 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.9909, allocations: 0.7427 MB / 1.241 GB, free: 33.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.9911, allocations: 32.67 kB / 1.241 GB, free: 33.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.9913, allocations: 28.05 kB / 1.241 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/0.9913, allocations: 0 / 1.241 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.01153/1.003, allocations: 4.38 MB / 1.245 GB, free: 30 MB / 0.6355 GB