Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 179.8 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.539/2.539, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.8 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.000465, allocations: 12.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2023, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.4244, allocations: 133.3 MB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4247, allocations: 67.97 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02324/0.448, allocations: 4.462 MB / 1.034 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4481, allocations: 0 / 1.034 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.4481, allocations: 4 kB / 1.034 GB, free: 7.906 MB / 0.6823 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.001259/0.4494, allocations: 0.6258 MB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4494, allocations: 8.031 kB / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.4496, allocations: 35.7 kB / 1.034 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.45, allocations: 250.5 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.4501, allocations: 16 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4502, allocations: 16 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.4506, allocations: 149.4 kB / 1.035 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4506, allocations: 0 / 1.035 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.4507, allocations: 4 kB / 1.035 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4507, allocations: 0 / 1.035 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.4509, allocations: 47.97 kB / 1.035 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.4514, allocations: 341.2 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.4519, allocations: 126.7 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4519, allocations: 4 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.4525, allocations: 211.6 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.4525, allocations: 0 / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0009261/0.4535, allocations: 267.3 kB / 1.036 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.4536, allocations: 71.3 kB / 1.036 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.454, allocations: 254.1 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.454, allocations: 37.7 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.4541, allocations: 93.12 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.4542, allocations: 43.45 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.4543, allocations: 12 kB / 1.036 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4544, allocations: 322.8 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.4549, allocations: 100.2 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.4554, allocations: 154.4 kB / 1.037 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.4558, allocations: 160.1 kB / 1.037 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4558, allocations: 0 / 1.037 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001253/0.4571, allocations: 423 kB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/0.4572, allocations: 75.38 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.4572, allocations: 0 / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.4573, allocations: 8.188 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.4575, allocations: 27.92 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4575, allocations: 4 kB / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.4582, allocations: 43.88 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4583, allocations: 51.98 kB / 1.037 GB, free: 3.695 MB / 0.6823 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002608/0.4586, allocations: 179.9 kB / 1.038 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.4587, allocations: 31.7 kB / 1.038 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.881e-05/0.4587, allocations: 30.25 kB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4588, allocations: 7.938 kB / 1.038 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4588, allocations: 0 / 1.038 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4588, allocations: 3.938 kB / 1.038 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.46, allocations: 0.5606 MB / 1.038 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.46, allocations: 0 / 1.038 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.4601, allocations: 11.98 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4601, allocations: 0 / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.4602, allocations: 15.98 kB / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4602, allocations: 0 / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4602, allocations: 0 / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.461, allocations: 328.4 kB / 1.038 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.4612, allocations: 144.8 kB / 1.039 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.4613, allocations: 11.98 kB / 1.039 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.4616, allocations: 16 kB / 1.039 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.4617, allocations: 15.97 kB / 1.039 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.4618, allocations: 31.98 kB / 1.039 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002918/0.4621, allocations: 205.9 kB / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4621, allocations: 0 / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000448/0.4625, allocations: 55.98 kB / 1.039 GB, free: 1.969 MB / 0.6823 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001897/0.4627, allocations: 118.2 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009119/0.4637, allocations: 364.2 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4637, allocations: 0 / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.4639, allocations: 67.91 kB / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4642, allocations: 24.83 kB / 1.039 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/0.4652, allocations: 442 kB / 1.04 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4656, allocations: 0.7477 MB / 1.041 GB, free: 144 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.4659, allocations: 37.08 kB / 1.041 GB, free: 104 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.4661, allocations: 31.42 kB / 1.041 GB, free: 72 kB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/0.4661, allocations: 0 / 1.041 GB, free: 72 kB / 0.6823 GB Notification: Performance of Templates: time 0.01192/0.478, allocations: 4.311 MB / 1.045 GB, free: 11.77 MB / 0.698 GB