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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004152/0.004156, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001132/0.001131, allocations: 175.2 kB / 16.7 MB, free: 5.453 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.983/3.983, 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 3.838/3.838, allocations: 472.3 MB / 0.9024 GB, free: 18.79 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006671/0.0006675, allocations: 12.22 kB / 1.008 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2165, allocations: 98.72 MB / 1.105 GB, free: 10.77 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7878/1.004, allocations: 126.7 MB / 1.228 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.005, allocations: 80.38 kB / 1.228 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02293/1.028, allocations: 4.895 MB / 1.233 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/1.028, allocations: 3.938 kB / 1.233 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.363e-05/1.028, allocations: 4 kB / 1.233 GB, free: 14.08 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.001352/1.029, allocations: 0.5961 MB / 1.234 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/1.029, allocations: 12.75 kB / 1.234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/1.029, allocations: 23.81 kB / 1.234 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.03, allocations: 204.7 kB / 1.234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/1.03, allocations: 15.38 kB / 1.234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/1.03, allocations: 19.5 kB / 1.234 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/1.03, allocations: 163.5 kB / 1.234 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.03, allocations: 0 / 1.234 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/1.03, allocations: 7.438 kB / 1.234 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.03, allocations: 0 / 1.234 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/1.031, allocations: 61.64 kB / 1.234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/1.032, allocations: 0.5639 MB / 1.235 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/1.033, allocations: 126.7 kB / 1.235 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/1.033, allocations: 64.08 kB / 1.235 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/1.033, allocations: 4 kB / 1.235 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005902/1.034, allocations: 214.7 kB / 1.235 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 5.069e-06/1.034, allocations: 0 / 1.235 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009655/1.035, allocations: 277.8 kB / 1.235 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.035, allocations: 66.98 kB / 1.236 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/1.035, allocations: 249.5 kB / 1.236 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.701e-05/1.035, allocations: 39.58 kB / 1.236 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.035, allocations: 95.92 kB / 1.236 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/1.035, allocations: 52.36 kB / 1.236 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/1.036, allocations: 6.688 kB / 1.236 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.036, allocations: 324.6 kB / 1.236 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/1.036, allocations: 112.7 kB / 1.236 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/1.037, allocations: 172.3 kB / 1.237 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/1.037, allocations: 166.7 kB / 1.237 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.037, allocations: 3.938 kB / 1.237 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001328/1.039, allocations: 440.7 kB / 1.237 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.27e-05/1.039, allocations: 74.7 kB / 1.237 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.039, allocations: 8 kB / 1.237 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/1.039, allocations: 4 kB / 1.237 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/1.039, allocations: 31.47 kB / 1.237 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.039, allocations: 0 / 1.237 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/1.04, allocations: 51.39 kB / 1.237 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.04, allocations: 47.61 kB / 1.237 GB, free: 10.23 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.0003433/1.04, allocations: 179.9 kB / 1.238 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/1.04, allocations: 15.81 kB / 1.238 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.179e-05/1.04, allocations: 28.92 kB / 1.238 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.04, allocations: 0 / 1.238 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.04, allocations: 4 kB / 1.238 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.04, allocations: 0 / 1.238 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/1.042, allocations: 0.5744 MB / 1.238 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.042, allocations: 8 kB / 1.238 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/1.042, allocations: 7.984 kB / 1.238 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.042, allocations: 0 / 1.238 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/1.042, allocations: 11.98 kB / 1.238 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1.042, allocations: 3.953 kB / 1.238 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.042, allocations: 0 / 1.238 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/1.043, allocations: 327 kB / 1.238 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.043, allocations: 150.6 kB / 1.239 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/1.043, allocations: 15.44 kB / 1.239 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/1.043, allocations: 15.8 kB / 1.239 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/1.043, allocations: 19.92 kB / 1.239 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/1.043, allocations: 23.67 kB / 1.239 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002505/1.044, allocations: 181 kB / 1.239 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/1.044, allocations: 0 / 1.239 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005641/1.044, allocations: 51.72 kB / 1.239 GB, free: 8.777 MB / 0.6198 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.0002379/1.044, allocations: 138.8 kB / 1.239 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001017/1.045, allocations: 373.2 kB / 1.239 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.046, allocations: 0 / 1.239 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/1.046, allocations: 72.91 kB / 1.239 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/1.046, allocations: 30.28 kB / 1.239 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/1.047, allocations: 407.2 kB / 1.24 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/1.048, allocations: 0.7409 MB / 1.241 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002112/1.048, allocations: 33.42 kB / 1.241 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/1.048, allocations: 32.67 kB / 1.241 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/1.048, allocations: 0 / 1.241 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of Templates: time 0.01304/1.061, allocations: 4.39 MB / 1.245 GB, free: 2.762 MB / 0.6198 GB