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.332/2.332, allocations: 252.6 MB / 265.2 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 179.9 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.4 MB / 0.5753 GB, free: 10.5 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.001109/0.001109, allocations: 90.62 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.405e-05, allocations: 4 kB / 0.7911 GB, free: 96.65 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1961, allocations: 106.2 MB / 0.8949 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8487/1.045, allocations: 133.3 MB / 1.025 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.045, allocations: 71.52 kB / 1.025 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02243/1.068, allocations: 4.46 MB / 1.03 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.754e-06/1.068, allocations: 0 / 1.03 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.068, allocations: 0 / 1.03 GB, free: 13.27 MB / 0.6511 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.001189/1.069, allocations: 0.5939 MB / 1.03 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.069, allocations: 8.031 kB / 1.03 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/1.069, allocations: 31.72 kB / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/1.07, allocations: 248.4 kB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/1.07, allocations: 11.06 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.523e-05/1.07, allocations: 19 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/1.07, allocations: 145.5 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.07, allocations: 0 / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/1.07, allocations: 0 / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.07, allocations: 4 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/1.07, allocations: 53.67 kB / 1.031 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/1.071, allocations: 333.6 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/1.071, allocations: 128.7 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/1.072, allocations: 56.16 kB / 1.031 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/1.072, allocations: 3.938 kB / 1.031 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005937/1.072, allocations: 212.3 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.685e-06/1.072, allocations: 3.938 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007382/1.073, allocations: 224.8 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.073, allocations: 58.72 kB / 1.032 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/1.074, allocations: 261.9 kB / 1.032 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.897e-05/1.074, allocations: 40.14 kB / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/1.074, allocations: 88.7 kB / 1.032 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/1.074, allocations: 44.31 kB / 1.032 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/1.074, allocations: 15.42 kB / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.074, allocations: 318 kB / 1.032 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/1.074, allocations: 99.58 kB / 1.032 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/1.075, allocations: 146.1 kB / 1.033 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/1.075, allocations: 154.5 kB / 1.033 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.075, allocations: 3.938 kB / 1.033 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00111/1.076, allocations: 406 kB / 1.033 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/1.076, allocations: 75.19 kB / 1.033 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.076, allocations: 192 / 1.033 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.077, allocations: 8 kB / 1.033 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/1.077, allocations: 27.61 kB / 1.033 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.077, allocations: 7.938 kB / 1.033 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/1.077, allocations: 43.12 kB / 1.033 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.078, allocations: 59.72 kB / 1.033 GB, free: 9.578 MB / 0.6511 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 () * 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.0002441/1.078, allocations: 140.1 kB / 1.033 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/1.078, allocations: 27.62 kB / 1.033 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/1.078, allocations: 27.66 kB / 1.033 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.078, allocations: 4 kB / 1.033 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.078, allocations: 0 / 1.033 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.078, allocations: 3.984 kB / 1.033 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.079, allocations: 0.5525 MB / 1.034 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.08, allocations: 0 / 1.034 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/1.08, allocations: 11.94 kB / 1.034 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.08, allocations: 4 kB / 1.034 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/1.08, allocations: 11.97 kB / 1.034 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.08, allocations: 0 / 1.034 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.08, allocations: 7.938 kB / 1.034 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/1.08, allocations: 320.5 kB / 1.034 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/1.081, allocations: 156.2 kB / 1.034 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/1.081, allocations: 6.938 kB / 1.035 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/1.081, allocations: 19.17 kB / 1.035 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/1.081, allocations: 11.98 kB / 1.035 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/1.081, allocations: 35.16 kB / 1.035 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002914/1.082, allocations: 202.1 kB / 1.035 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.082, allocations: 0 / 1.035 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005257/1.082, allocations: 54.86 kB / 1.035 GB, free: 8.09 MB / 0.6511 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) * 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.0002009/1.082, allocations: 111.1 kB / 1.035 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009059/1.083, allocations: 359.2 kB / 1.035 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.083, allocations: 3.938 kB / 1.035 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/1.084, allocations: 72.22 kB / 1.035 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/1.084, allocations: 26.23 kB / 1.035 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/1.085, allocations: 278.9 kB / 1.036 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/1.085, allocations: 0.7467 MB / 1.036 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002379/1.085, allocations: 41.16 kB / 1.036 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/1.086, allocations: 35.41 kB / 1.036 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/1.086, allocations: 0 / 1.036 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of Templates: time 0.01288/1.098, allocations: 4.302 MB / 1.041 GB, free: 2.199 MB / 0.6511 GB