Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.27/2.27, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001427/0.001427, allocations: 183.5 kB / 325.6 MB, free: 2.828 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.374/2.374, 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.001099/0.001099, allocations: 106.3 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004386, allocations: 10.12 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.4537, allocations: 133.4 MB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.4541, allocations: 67.97 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02303/0.4771, allocations: 4.473 MB / 1.034 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4772, allocations: 3.938 kB / 1.034 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.4772, allocations: 4 kB / 1.034 GB, free: 7.84 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.001444/0.4787, allocations: 0.6181 MB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4787, allocations: 8.031 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.4789, allocations: 35.7 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.4795, allocations: 262.5 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.4795, allocations: 15.94 kB / 1.035 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4796, allocations: 12 kB / 1.035 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.4801, allocations: 151.5 kB / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4802, allocations: 0 / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.4802, allocations: 0 / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.4802, allocations: 0 / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.4804, allocations: 47.97 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.4811, allocations: 341.2 kB / 1.035 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.4815, allocations: 126.7 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.4816, allocations: 4 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006749/0.4823, allocations: 211.6 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.896e-06/0.4823, allocations: 0 / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001035/0.4833, allocations: 270.5 kB / 1.036 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.4835, allocations: 63.31 kB / 1.036 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.484, allocations: 254.1 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.4841, allocations: 37.7 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4842, allocations: 101 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.4843, allocations: 47.45 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.4844, allocations: 8 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4846, allocations: 326.8 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.4851, allocations: 100.2 kB / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.4856, allocations: 150.4 kB / 1.037 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.4861, allocations: 161.6 kB / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4862, allocations: 0 / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001379/0.4875, allocations: 421.1 kB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.4877, allocations: 75.38 kB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.4877, allocations: 8.188 kB / 1.037 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.4878, allocations: 4 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.488, allocations: 27.92 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.4881, allocations: 4 kB / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.4888, allocations: 47.88 kB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.4889, allocations: 47.98 kB / 1.037 GB, free: 3.629 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.0003688/0.4893, allocations: 187.9 kB / 1.038 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.4894, allocations: 27.66 kB / 1.038 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.4895, allocations: 26.25 kB / 1.038 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4895, allocations: 4 kB / 1.038 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4895, allocations: 0 / 1.038 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4896, allocations: 3.984 kB / 1.038 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.4915, allocations: 0.5621 MB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.4915, allocations: 4 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.4917, allocations: 7.984 kB / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.4917, allocations: 4 kB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.4918, allocations: 11.98 kB / 1.038 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.4918, allocations: 4 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4919, allocations: 0 / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.493, allocations: 323 kB / 1.039 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.4935, allocations: 148.8 kB / 1.039 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.4937, allocations: 15.98 kB / 1.039 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.4941, allocations: 8 kB / 1.039 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.4943, allocations: 15.97 kB / 1.039 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-05/0.4944, allocations: 31.98 kB / 1.039 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004827/0.4949, allocations: 209.9 kB / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4949, allocations: 0 / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000961/0.4959, allocations: 51.98 kB / 1.039 GB, free: 1.906 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.0002984/0.4962, allocations: 123 kB / 1.039 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.4979, allocations: 360.1 kB / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.498, allocations: 0 / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.4984, allocations: 71.91 kB / 1.04 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.499, allocations: 24.77 kB / 1.04 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5008, allocations: 441.8 kB / 1.04 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.5016, allocations: 0.7438 MB / 1.041 GB, free: 76 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004863/0.5022, allocations: 41.08 kB / 1.041 GB, free: 32 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.5026, allocations: 31.42 kB / 1.041 GB, free: 0 / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/0.5027, allocations: 4.047 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of Templates: time 0.01539/0.5181, allocations: 4.293 MB / 1.045 GB, free: 11.71 MB / 0.698 GB