Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002517/0.002521, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.424/1.424, allocations: 165.8 MB / 183.1 MB, free: 5.387 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.669/3.669, allocations: 410.8 MB / 0.6001 GB, free: 15.13 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001752/0.001751, allocations: 198.8 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 11.98 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4043, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.5733, allocations: 100.2 MB / 0.9065 GB, free: 8.457 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5737, allocations: 83.94 kB / 0.9066 GB, free: 8.375 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02241/0.5961, allocations: 4.449 MB / 0.911 GB, free: 3.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5962, allocations: 0 / 0.911 GB, free: 3.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5962, allocations: 0 / 0.911 GB, free: 3.93 MB / 458.7 MB 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.001304/0.5975, allocations: 0.6298 MB / 0.9116 GB, free: 3.227 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5975, allocations: 8.031 kB / 0.9116 GB, free: 3.219 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.5977, allocations: 35.7 kB / 0.9116 GB, free: 3.184 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.5981, allocations: 246.5 kB / 0.9119 GB, free: 2.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.5982, allocations: 8 kB / 0.9119 GB, free: 2.895 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.5983, allocations: 20 kB / 0.9119 GB, free: 2.875 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.5988, allocations: 144.4 kB / 0.912 GB, free: 2.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5988, allocations: 7.984 kB / 0.912 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.5989, allocations: 3.953 kB / 0.912 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5989, allocations: 7.922 kB / 0.912 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.5991, allocations: 47.98 kB / 0.9121 GB, free: 2.664 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.5996, allocations: 325.3 kB / 0.9124 GB, free: 2.297 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.6001, allocations: 130.8 kB / 0.9125 GB, free: 2.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.6003, allocations: 60.77 kB / 0.9126 GB, free: 2.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.6004, allocations: 4 kB / 0.9126 GB, free: 2.094 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006166/0.601, allocations: 211.5 kB / 0.9128 GB, free: 1.875 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.601, allocations: 0 / 0.9128 GB, free: 1.875 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009268/0.602, allocations: 280.5 kB / 0.9131 GB, free: 1.598 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.602, allocations: 63.39 kB / 0.9131 GB, free: 1.523 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.6025, allocations: 290.9 kB / 0.9134 GB, free: 1.234 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/0.6026, allocations: 45.62 kB / 0.9134 GB, free: 1.184 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.6027, allocations: 85.14 kB / 0.9135 GB, free: 1.098 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.6028, allocations: 39.52 kB / 0.9136 GB, free: 1.059 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.6029, allocations: 8 kB / 0.9136 GB, free: 1.051 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.603, allocations: 326.8 kB / 0.9139 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.6035, allocations: 100.2 kB / 0.914 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.604, allocations: 158.4 kB / 0.9141 GB, free: 456 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.6044, allocations: 156 kB / 0.9143 GB, free: 284 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.6045, allocations: 4 kB / 0.9143 GB, free: 280 kB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001316/0.6058, allocations: 420.3 kB / 0.9147 GB, free: 15.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/0.6059, allocations: 75.39 kB / 0.9148 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6059, allocations: 0 / 0.9148 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.6059, allocations: 4 kB / 0.9148 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.6062, allocations: 27.91 kB / 0.9148 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.6062, allocations: 7.953 kB / 0.9148 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.6069, allocations: 52 kB / 0.9148 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.607, allocations: 55.98 kB / 0.9149 GB, free: 15.62 MB / 474.7 MB 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.0002987/0.6073, allocations: 171.4 kB / 0.9151 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.6074, allocations: 31.61 kB / 0.9151 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.6075, allocations: 34.25 kB / 0.9151 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6075, allocations: 0 / 0.9151 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6076, allocations: 4 kB / 0.9151 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6076, allocations: 7.953 kB / 0.9151 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6087, allocations: 0.549 MB / 0.9157 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6088, allocations: 0 / 0.9157 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.6088, allocations: 7.984 kB / 0.9157 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.6089, allocations: 4 kB / 0.9157 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.6089, allocations: 19.92 kB / 0.9157 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.6089, allocations: 0 / 0.9157 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6089, allocations: 0 / 0.9157 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.6096, allocations: 328.3 kB / 0.916 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.6099, allocations: 156.7 kB / 0.9162 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.61, allocations: 12 kB / 0.9162 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.6103, allocations: 11.94 kB / 0.9162 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.6103, allocations: 23.91 kB / 0.9162 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.6104, allocations: 27.98 kB / 0.9162 GB, free: 14.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003083/0.6107, allocations: 209.9 kB / 0.9164 GB, free: 13.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6108, allocations: 4 kB / 0.9164 GB, free: 13.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004754/0.6112, allocations: 52 kB / 0.9165 GB, free: 13.88 MB / 474.7 MB 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.0001873/0.6114, allocations: 114.9 kB / 0.9166 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000939/0.6124, allocations: 357.6 kB / 0.9169 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6124, allocations: 0 / 0.9169 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.6127, allocations: 72.28 kB / 0.917 GB, free: 13.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.6131, allocations: 28.86 kB / 0.917 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.6141, allocations: 435.4 kB / 0.9174 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.6145, allocations: 0.7477 MB / 0.9182 GB, free: 12.06 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.6147, allocations: 37.08 kB / 0.9182 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.6149, allocations: 35.42 kB / 0.9182 GB, free: 11.99 MB / 474.7 MB Notification: Performance of SimCode: time 1.442e-06/0.615, allocations: 3.938 kB / 0.9183 GB, free: 11.99 MB / 474.7 MB Notification: Performance of Templates: time 0.01217/0.6271, allocations: 4.314 MB / 0.9225 GB, free: 7.684 MB / 474.7 MB