Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.997/4.997, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002516/0.002516, allocations: 356.9 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.367/4.367, allocations: 410.7 MB / 1.113 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001857/0.001857, allocations: 184.8 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.0006529, allocations: 16 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7848, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/1.009, allocations: 139.7 MB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.009, allocations: 72.98 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02685/1.036, allocations: 4.459 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.865e-06/1.036, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.778e-05/1.036, allocations: 4 kB / 1.602 GB, free: 140.2 MB / 0.8542 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.001466/1.037, allocations: 0.6203 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.037, allocations: 15.62 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/1.038, allocations: 27.72 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/1.038, allocations: 258.4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/1.038, allocations: 12 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/1.038, allocations: 17.73 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/1.039, allocations: 141.5 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.039, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/1.039, allocations: 3.984 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.039, allocations: 4.562 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/1.039, allocations: 43.97 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/1.04, allocations: 338.2 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/1.041, allocations: 128.7 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/1.041, allocations: 58.52 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/1.041, allocations: 5.062 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/1.042, allocations: 223.1 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.477e-06/1.042, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001244/1.043, allocations: 265.2 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.043, allocations: 59.41 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/1.044, allocations: 286.9 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/1.044, allocations: 42.77 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/1.044, allocations: 89.14 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/1.044, allocations: 44.97 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/1.044, allocations: 8 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/1.044, allocations: 326.8 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/1.045, allocations: 101.1 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/1.046, allocations: 159.6 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/1.046, allocations: 158.8 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.046, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001682/1.048, allocations: 425.6 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.84e-05/1.048, allocations: 67.39 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.048, allocations: 7.938 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.048, allocations: 4 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/1.048, allocations: 27.97 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/1.048, allocations: 10.19 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/1.049, allocations: 43.81 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.049, allocations: 56.73 kB / 1.606 GB, free: 135.9 MB / 0.8542 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.0003701/1.05, allocations: 174.9 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/1.05, allocations: 23.72 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/1.05, allocations: 31.56 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.05, allocations: 7.938 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.05, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/1.05, allocations: 0.625 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.052, allocations: 0.5583 MB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/1.052, allocations: 0.6562 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.052, allocations: 15.92 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.052, allocations: 1.5 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/1.052, allocations: 11.98 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.052, allocations: 0 / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.052, allocations: 0 / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/1.053, allocations: 325.8 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/1.053, allocations: 158.1 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.053, allocations: 11.98 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/1.054, allocations: 12 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/1.054, allocations: 16.84 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/1.054, allocations: 27.98 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003567/1.054, allocations: 206.5 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.11e-07/1.054, allocations: 0.625 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008708/1.055, allocations: 56.38 kB / 1.608 GB, free: 134.2 MB / 0.8542 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.0002298/1.055, allocations: 122.2 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001246/1.056, allocations: 351.9 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.057, allocations: 0.9062 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/1.057, allocations: 71.94 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/1.058, allocations: 25.33 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/1.059, allocations: 452.6 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/1.059, allocations: 0.7474 MB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003299/1.06, allocations: 40.02 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/1.06, allocations: 40.52 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.153e-06/1.06, allocations: 1.625 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01436/1.074, allocations: 4.298 MB / 1.614 GB, free: 128.2 MB / 0.8542 GB