Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002187/0.002193, allocations: 187.6 kB / 15.77 MB, free: 6 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.8567/0.8567, allocations: 82.92 MB / 99.42 MB, free: 3.227 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.487/2.487, allocations: 205.4 MB / 325.4 MB, free: 3.312 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.00104/0.00104, allocations: 86.92 kB / 393.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004504, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09216, allocations: 67.45 MB / 0.5263 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001826/0.09403, allocations: 1.167 MB / 0.5275 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.09504, allocations: 394.2 kB / 0.5279 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.09513, allocations: 0 / 0.5279 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.09519, allocations: 7.922 kB / 0.5279 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.09531, allocations: 19.97 kB / 0.5279 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008268/0.09615, allocations: 215.2 kB / 0.5281 GB, free: 13.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.09641, allocations: 151.7 kB / 0.5282 GB, free: 13.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.09647, allocations: 4 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.09679, allocations: 163.7 kB / 0.5284 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.09705, allocations: 119.7 kB / 0.5285 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.09713, allocations: 8 kB / 0.5285 GB, free: 12.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.09721, allocations: 12 kB / 0.5285 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.09735, allocations: 75.78 kB / 0.5286 GB, free: 12.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.09746, allocations: 65.58 kB / 0.5287 GB, free: 12.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.09778, allocations: 211.8 kB / 0.5289 GB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.963e-06/0.0978, allocations: 0 / 0.5289 GB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.115e-06/0.09781, allocations: 0 / 0.5289 GB, free: 12.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.32e-06/0.09782, allocations: 0 / 0.5289 GB, free: 12.46 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.001242/0.09907, allocations: 0.618 MB / 0.5295 GB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.09914, allocations: 8.031 kB / 0.5295 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.09927, allocations: 31.72 kB / 0.5295 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.09967, allocations: 254.5 kB / 0.5298 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.09973, allocations: 12 kB / 0.5298 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.09981, allocations: 23.92 kB / 0.5298 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.1002, allocations: 153.4 kB / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1002, allocations: 0 / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.1003, allocations: 4 kB / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-06/0.1003, allocations: 0 / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1005, allocations: 43.97 kB / 0.53 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.1009, allocations: 309.4 kB / 0.5303 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.1013, allocations: 134.6 kB / 0.5304 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1014, allocations: 3.984 kB / 0.5304 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.102, allocations: 220.2 kB / 0.5306 GB, free: 10.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.876e-06/0.102, allocations: 0 / 0.5306 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007802/0.1028, allocations: 275.3 kB / 0.5309 GB, free: 10.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.1029, allocations: 59.41 kB / 0.5309 GB, free: 10.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.1033, allocations: 294.8 kB / 0.5312 GB, free: 9.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.1034, allocations: 37.69 kB / 0.5313 GB, free: 9.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.1035, allocations: 97.14 kB / 0.5313 GB, free: 9.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.1036, allocations: 39.5 kB / 0.5314 GB, free: 9.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1036, allocations: 8 kB / 0.5314 GB, free: 9.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1038, allocations: 322.8 kB / 0.5317 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.1042, allocations: 96.17 kB / 0.5318 GB, free: 9.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.1045, allocations: 146.4 kB / 0.5319 GB, free: 9.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.1049, allocations: 152.9 kB / 0.5321 GB, free: 8.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.384e-06/0.1049, allocations: 0 / 0.5321 GB, free: 8.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009944/0.1059, allocations: 414.6 kB / 0.5325 GB, free: 8.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.763e-05/0.106, allocations: 79.52 kB / 0.5325 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.106, allocations: 11.94 kB / 0.5326 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1061, allocations: 3.953 kB / 0.5326 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1063, allocations: 27.97 kB / 0.5326 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1063, allocations: 3.938 kB / 0.5326 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.107, allocations: 71.8 kB / 0.5327 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.1071, allocations: 55.98 kB / 0.5327 GB, free: 8.23 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.0002773/0.1074, allocations: 164 kB / 0.5329 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.1075, allocations: 23.72 kB / 0.5329 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/0.1076, allocations: 30.25 kB / 0.5329 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.1076, allocations: 3.938 kB / 0.5329 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.1076, allocations: 3.953 kB / 0.5329 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.809e-06/0.1076, allocations: 8 kB / 0.5329 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1087, allocations: 0.5556 MB / 0.5335 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-06/0.1088, allocations: 0 / 0.5335 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.1088, allocations: 15.92 kB / 0.5335 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.1089, allocations: 7.953 kB / 0.5335 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.1089, allocations: 15.92 kB / 0.5335 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.664e-06/0.1089, allocations: 0 / 0.5335 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1089, allocations: 4 kB / 0.5335 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.1095, allocations: 323.1 kB / 0.5338 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.1098, allocations: 160.7 kB / 0.534 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.1099, allocations: 11.95 kB / 0.534 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.1102, allocations: 11.98 kB / 0.534 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.1103, allocations: 15.97 kB / 0.534 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.1103, allocations: 27.98 kB / 0.534 GB, free: 6.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.1106, allocations: 209.9 kB / 0.5342 GB, free: 6.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.1106, allocations: 4 kB / 0.5342 GB, free: 6.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000474/0.1111, allocations: 48 kB / 0.5343 GB, free: 6.5 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.0001782/0.1113, allocations: 123.3 kB / 0.5344 GB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.1121, allocations: 346.7 kB / 0.5347 GB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.1121, allocations: 0 / 0.5347 GB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1123, allocations: 69.84 kB / 0.5348 GB, free: 5.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1126, allocations: 21.25 kB / 0.5348 GB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.1136, allocations: 446.8 kB / 0.5353 GB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.1141, allocations: 0.7399 MB / 0.536 GB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.1143, allocations: 37.42 kB / 0.536 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.1145, allocations: 39.42 kB / 0.5361 GB, free: 4.613 MB / 378.7 MB Notification: Performance of SimCode: time 1.899e-06/0.1145, allocations: 0 / 0.5361 GB, free: 4.613 MB / 378.7 MB Notification: Performance of Templates: time 0.01038/0.1249, allocations: 3.904 MB / 0.5399 GB, free: 0.7305 MB / 378.7 MB