Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001442, allocations: 186.1 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7701/0.7701, allocations: 82.93 MB / 99.42 MB, free: 3.352 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.381/2.381, allocations: 205.4 MB / 325.4 MB, free: 3.5 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 90.88 kB / 393.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004448, allocations: 15.98 kB / 471.5 MB, free: 66.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 67.43 MB / 0.5263 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001858/0.1304, allocations: 1.175 MB / 0.5275 GB, free: 13.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.1313, allocations: 405.8 kB / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1314, allocations: 0 / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.1315, allocations: 3.938 kB / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1316, allocations: 19.97 kB / 0.5279 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.1324, allocations: 215.2 kB / 0.5281 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1326, allocations: 147.8 kB / 0.5282 GB, free: 13.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.1327, allocations: 11.98 kB / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.133, allocations: 163.6 kB / 0.5284 GB, free: 13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1333, allocations: 123.7 kB / 0.5285 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.1333, allocations: 8 kB / 0.5285 GB, free: 12.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.1334, allocations: 12 kB / 0.5285 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1336, allocations: 75.78 kB / 0.5286 GB, free: 12.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.996e-05/0.1337, allocations: 65.58 kB / 0.5287 GB, free: 12.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.134, allocations: 207.8 kB / 0.5289 GB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.898e-06/0.134, allocations: 0 / 0.5289 GB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.134, allocations: 0 / 0.5289 GB, free: 12.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.875e-06/0.134, allocations: 4 kB / 0.5289 GB, free: 12.5 MB / 378.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.00121/0.1352, allocations: 0.6141 MB / 0.5295 GB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1353, allocations: 8.031 kB / 0.5295 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1354, allocations: 35.7 kB / 0.5295 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.1358, allocations: 242.5 kB / 0.5298 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.1359, allocations: 19.92 kB / 0.5298 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.1359, allocations: 23.94 kB / 0.5298 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.1363, allocations: 149.5 kB / 0.5299 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1364, allocations: 0 / 0.5299 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.1364, allocations: 3.984 kB / 0.5299 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1364, allocations: 4 kB / 0.5299 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.1366, allocations: 39.98 kB / 0.53 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.1371, allocations: 309.4 kB / 0.5303 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.1375, allocations: 130.6 kB / 0.5304 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1375, allocations: 4 kB / 0.5304 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006173/0.1381, allocations: 221.7 kB / 0.5306 GB, free: 10.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.825e-06/0.1381, allocations: 3.938 kB / 0.5306 GB, free: 10.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007794/0.1389, allocations: 269.2 kB / 0.5309 GB, free: 10.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.139, allocations: 63.39 kB / 0.5309 GB, free: 10.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.1394, allocations: 294.8 kB / 0.5312 GB, free: 9.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.1395, allocations: 33.7 kB / 0.5313 GB, free: 9.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.1396, allocations: 97.12 kB / 0.5313 GB, free: 9.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.1397, allocations: 39.5 kB / 0.5314 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1397, allocations: 12 kB / 0.5314 GB, free: 9.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1399, allocations: 322.8 kB / 0.5317 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.1402, allocations: 100.1 kB / 0.5318 GB, free: 9.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.1406, allocations: 138.4 kB / 0.5319 GB, free: 9.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.1409, allocations: 160.1 kB / 0.5321 GB, free: 8.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.269e-06/0.141, allocations: 0 / 0.5321 GB, free: 8.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001017/0.142, allocations: 410.8 kB / 0.5325 GB, free: 8.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.1421, allocations: 79.31 kB / 0.5325 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-06/0.1421, allocations: 0 / 0.5325 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1421, allocations: 11.94 kB / 0.5326 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1424, allocations: 32.11 kB / 0.5326 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1424, allocations: 4 kB / 0.5326 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.1431, allocations: 71.78 kB / 0.5327 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.1432, allocations: 55.98 kB / 0.5327 GB, free: 8.277 MB / 378.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.0002591/0.1434, allocations: 168 kB / 0.5329 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.1435, allocations: 27.7 kB / 0.5329 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.1436, allocations: 26.27 kB / 0.5329 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-06/0.1436, allocations: 3.984 kB / 0.5329 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.409e-06/0.1436, allocations: 3.953 kB / 0.5329 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.411e-06/0.1436, allocations: 0 / 0.5329 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1447, allocations: 0.5667 MB / 0.5335 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1448, allocations: 0 / 0.5335 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.1448, allocations: 7.984 kB / 0.5335 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.894e-06/0.1449, allocations: 7.953 kB / 0.5335 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.1449, allocations: 11.98 kB / 0.5335 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.528e-06/0.1449, allocations: 3.938 kB / 0.5335 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1449, allocations: 0 / 0.5335 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.1455, allocations: 315.1 kB / 0.5338 GB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.1458, allocations: 160.7 kB / 0.534 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.1459, allocations: 19.94 kB / 0.534 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.1462, allocations: 11.98 kB / 0.534 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.1463, allocations: 15.98 kB / 0.534 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.1463, allocations: 31.97 kB / 0.534 GB, free: 6.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002777/0.1466, allocations: 205.9 kB / 0.5342 GB, free: 6.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.1466, allocations: 0 / 0.5342 GB, free: 6.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005122/0.1471, allocations: 47.98 kB / 0.5343 GB, free: 6.555 MB / 378.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.0001852/0.1473, allocations: 123.3 kB / 0.5344 GB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007887/0.1481, allocations: 344.9 kB / 0.5347 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.77e-06/0.1482, allocations: 0 / 0.5347 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1484, allocations: 75.89 kB / 0.5348 GB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1487, allocations: 16.81 kB / 0.5348 GB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.1497, allocations: 445.3 kB / 0.5353 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.1501, allocations: 0.7516 MB / 0.536 GB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.1504, allocations: 37.41 kB / 0.536 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.1506, allocations: 43.42 kB / 0.5361 GB, free: 4.656 MB / 378.7 MB Notification: Performance of SimCode: time 1.81e-06/0.1506, allocations: 3.938 kB / 0.5361 GB, free: 4.652 MB / 378.7 MB Notification: Performance of Templates: time 0.01015/0.1607, allocations: 3.895 MB / 0.5399 GB, free: 0.7734 MB / 378.7 MB