Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001675/0.001675, allocations: 182.4 kB / 325.6 MB, free: 2.809 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.445/2.445, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001061/0.00106, allocations: 96.44 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006164/0.0006164, allocations: 8.938 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2284, allocations: 106.2 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.4583, allocations: 133.4 MB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.4586, allocations: 71.95 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02265/0.4813, allocations: 4.469 MB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.869e-06/0.4814, allocations: 0 / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.4814, allocations: 7.938 kB / 1.034 GB, free: 7.289 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.001331/0.4827, allocations: 0.6142 MB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4828, allocations: 8.031 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.4829, allocations: 35.72 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.4834, allocations: 254.5 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.4835, allocations: 8 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.4836, allocations: 27.92 kB / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.484, allocations: 145.5 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4841, allocations: 3.938 kB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.4841, allocations: 4 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4841, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.4843, allocations: 51.97 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.4849, allocations: 333.2 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.4854, allocations: 130.6 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.4854, allocations: 4 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.486, allocations: 211.6 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.585e-06/0.4861, allocations: 0 / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0009649/0.487, allocations: 263.4 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.4871, allocations: 71.3 kB / 1.036 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.4875, allocations: 246.2 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.216e-05/0.4876, allocations: 45.69 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.4877, allocations: 93.12 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.4878, allocations: 47.45 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.4879, allocations: 4 kB / 1.036 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4881, allocations: 326.8 kB / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.4885, allocations: 100.2 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.4891, allocations: 158.3 kB / 1.037 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.4895, allocations: 158.2 kB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4895, allocations: 0 / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001331/0.4909, allocations: 423.1 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.701e-05/0.491, allocations: 75.58 kB / 1.037 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.491, allocations: 0 / 1.037 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.491, allocations: 4 kB / 1.037 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.4913, allocations: 27.91 kB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.4913, allocations: 4 kB / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.492, allocations: 47.81 kB / 1.037 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4921, allocations: 59.97 kB / 1.037 GB, free: 3.078 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.0003124/0.4925, allocations: 172 kB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.4925, allocations: 27.7 kB / 1.038 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-05/0.4926, allocations: 38.19 kB / 1.038 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4927, allocations: 3.984 kB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4927, allocations: 0 / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4927, allocations: 3.938 kB / 1.038 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.4939, allocations: 0.5607 MB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4939, allocations: 0 / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.494, allocations: 11.92 kB / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.494, allocations: 0 / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.494, allocations: 11.98 kB / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4941, allocations: 0 / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4941, allocations: 3.938 kB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.4948, allocations: 320.4 kB / 1.039 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.4951, allocations: 156.7 kB / 1.039 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.4952, allocations: 8 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.4955, allocations: 11.98 kB / 1.039 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.4956, allocations: 19.97 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.4956, allocations: 27.98 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003043/0.4959, allocations: 205.9 kB / 1.039 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.496, allocations: 0 / 1.039 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005274/0.4965, allocations: 56 kB / 1.039 GB, free: 1.363 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.0002096/0.4967, allocations: 127 kB / 1.039 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009806/0.4977, allocations: 348.3 kB / 1.039 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.4977, allocations: 7.938 kB / 1.039 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.498, allocations: 67.97 kB / 1.04 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.4983, allocations: 23.31 kB / 1.04 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4994, allocations: 449.1 kB / 1.04 GB, free: 308 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.4998, allocations: 0.7554 MB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000241/0.5001, allocations: 37.08 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.5003, allocations: 35.42 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.5003, allocations: 0 / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of Templates: time 0.01225/0.5126, allocations: 4.291 MB / 1.045 GB, free: 11.17 MB / 0.698 GB