Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime.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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009269/0.009269, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001144/0.001144, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 2.04/2.04, allocations: 194.6 MB / 211.3 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.376/2.376, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004647, allocations: 8 kB / 0.5869 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6093, allocations: 98.71 MB / 0.6833 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.8241, allocations: 126.3 MB / 0.8067 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.8244, allocations: 71.97 kB / 0.8068 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.8432, allocations: 4.186 MB / 0.8108 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.184e-06/0.8433, allocations: 0 / 0.8108 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.8433, allocations: 4 kB / 0.8109 GB, free: 11.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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001067/0.8444, allocations: 0.5715 MB / 0.8114 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.8444, allocations: 12.03 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.8446, allocations: 23.75 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.8448, allocations: 191.9 kB / 0.8116 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.8448, allocations: 19.98 kB / 0.8116 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.8449, allocations: 12 kB / 0.8117 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.8453, allocations: 145.5 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.539e-06/0.8453, allocations: 0 / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.8454, allocations: 3.984 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-06/0.8454, allocations: 4 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.8456, allocations: 43.97 kB / 0.8118 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.8461, allocations: 309.3 kB / 0.8121 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.8465, allocations: 134.7 kB / 0.8123 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.8465, allocations: 0 / 0.8123 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.8471, allocations: 200.8 kB / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.084e-06/0.8471, allocations: 0 / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0008658/0.848, allocations: 259.9 kB / 0.8127 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.8481, allocations: 55.41 kB / 0.8128 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.8484, allocations: 207.1 kB / 0.813 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.8485, allocations: 41.69 kB / 0.813 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.8486, allocations: 101.1 kB / 0.8131 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.8487, allocations: 35.52 kB / 0.8131 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.8488, allocations: 8 kB / 0.8131 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.849, allocations: 326.8 kB / 0.8134 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.8494, allocations: 96.17 kB / 0.8135 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.8498, allocations: 150.4 kB / 0.8137 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.8502, allocations: 158.1 kB / 0.8138 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.533e-06/0.8502, allocations: 0 / 0.8138 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001165/0.8514, allocations: 407.1 kB / 0.8142 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.8515, allocations: 79.56 kB / 0.8143 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.8516, allocations: 3.984 kB / 0.8143 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.8516, allocations: 4 kB / 0.8143 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.8518, allocations: 27.92 kB / 0.8143 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8519, allocations: 4 kB / 0.8143 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.8523, allocations: 47.81 kB / 0.8144 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.8525, allocations: 43.97 kB / 0.8144 GB, free: 7.625 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0002966/0.8528, allocations: 165.7 kB / 0.8146 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.8528, allocations: 19.72 kB / 0.8146 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/0.8529, allocations: 25.86 kB / 0.8146 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.534e-06/0.8529, allocations: 0 / 0.8146 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.48e-06/0.853, allocations: 4 kB / 0.8146 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.276e-06/0.853, allocations: 3.984 kB / 0.8146 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.8542, allocations: 0.5372 MB / 0.8152 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.873e-06/0.8542, allocations: 4 kB / 0.8152 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.8543, allocations: 8 kB / 0.8152 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.867e-06/0.8543, allocations: 0 / 0.8152 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.8544, allocations: 7.984 kB / 0.8152 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.172e-06/0.8544, allocations: 0 / 0.8152 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.003e-06/0.8544, allocations: 4 kB / 0.8152 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.855, allocations: 317.1 kB / 0.8155 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.8553, allocations: 132.9 kB / 0.8156 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.8554, allocations: 12 kB / 0.8156 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.8556, allocations: 15.98 kB / 0.8156 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.8557, allocations: 19.97 kB / 0.8157 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.8558, allocations: 23.98 kB / 0.8157 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002084/0.856, allocations: 161.6 kB / 0.8158 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-07/0.856, allocations: 0 / 0.8158 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005155/0.8565, allocations: 51.98 kB / 0.8159 GB, free: 6.039 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0002164/0.8568, allocations: 133.5 kB / 0.816 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009047/0.8577, allocations: 346.7 kB / 0.8163 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.651e-06/0.8577, allocations: 0 / 0.8163 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.8579, allocations: 67.91 kB / 0.8164 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.8582, allocations: 24.55 kB / 0.8164 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.8591, allocations: 369.7 kB / 0.8168 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.8596, allocations: 0.732 MB / 0.8175 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.8598, allocations: 33.06 kB / 0.8175 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.8599, allocations: 31.42 kB / 0.8176 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of SimCode: time 1.848e-06/0.86, allocations: 0 / 0.8176 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of Templates: time 0.01073/0.8707, allocations: 3.965 MB / 0.8214 GB, free: 292 kB / 0.6355 GB