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.001423/0.001427, allocations: 183.2 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.7217/0.7217, allocations: 82.93 MB / 99.42 MB, free: 3.27 MB / 74.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.31/2.31, allocations: 205.4 MB / 325.4 MB, free: 3.246 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.001034/0.001034, allocations: 90.91 kB / 393.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09222, allocations: 67.45 MB / 0.5263 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001939/0.09421, allocations: 1.171 MB / 0.5275 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.09529, allocations: 396.7 kB / 0.5279 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.09538, allocations: 0 / 0.5279 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.09545, allocations: 7.922 kB / 0.5279 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.09557, allocations: 19.97 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.0964, allocations: 206.6 kB / 0.5281 GB, free: 13.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.0967, allocations: 151.8 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.09676, allocations: 7.984 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.09708, allocations: 163.6 kB / 0.5284 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.09735, allocations: 123.7 kB / 0.5285 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.09743, allocations: 8 kB / 0.5285 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.09751, allocations: 8 kB / 0.5285 GB, free: 12.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.09765, allocations: 79.78 kB / 0.5286 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.09777, allocations: 65.58 kB / 0.5287 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.09808, allocations: 215.8 kB / 0.5289 GB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.767e-06/0.0981, allocations: 0 / 0.5289 GB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.409e-06/0.09812, allocations: 3.938 kB / 0.5289 GB, free: 12.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.224e-06/0.09813, allocations: 0 / 0.5289 GB, free: 12.45 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.001247/0.09939, allocations: 0.6141 MB / 0.5295 GB, free: 11.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.09944, allocations: 8.031 kB / 0.5295 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.09957, allocations: 35.72 kB / 0.5295 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.09997, allocations: 246.5 kB / 0.5298 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.1, allocations: 15.94 kB / 0.5298 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.1001, allocations: 15.94 kB / 0.5298 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1005, allocations: 157.5 kB / 0.5299 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.033e-06/0.1006, allocations: 0 / 0.5299 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1006, allocations: 0 / 0.5299 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.629e-06/0.1006, allocations: 4 kB / 0.5299 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.1008, allocations: 43.97 kB / 0.53 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.1013, allocations: 313.4 kB / 0.5303 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1017, allocations: 126.7 kB / 0.5304 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1018, allocations: 4 kB / 0.5304 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/0.1024, allocations: 220.7 kB / 0.5306 GB, free: 10.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 3.223e-06/0.1024, allocations: 0 / 0.5306 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008031/0.1032, allocations: 275.5 kB / 0.5309 GB, free: 10.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.1033, allocations: 59.41 kB / 0.5309 GB, free: 10.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.1037, allocations: 286.8 kB / 0.5312 GB, free: 9.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.1038, allocations: 41.7 kB / 0.5312 GB, free: 9.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.1039, allocations: 97.12 kB / 0.5313 GB, free: 9.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.104, allocations: 43.5 kB / 0.5314 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1041, allocations: 8 kB / 0.5314 GB, free: 9.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1043, allocations: 322.8 kB / 0.5317 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.1046, allocations: 92.17 kB / 0.5318 GB, free: 9.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.105, allocations: 146.3 kB / 0.5319 GB, free: 9.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1053, allocations: 156.1 kB / 0.5321 GB, free: 8.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.202e-06/0.1054, allocations: 0 / 0.5321 GB, free: 8.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001024/0.1064, allocations: 411.1 kB / 0.5325 GB, free: 8.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.1065, allocations: 79.52 kB / 0.5325 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.359e-06/0.1065, allocations: 0 / 0.5325 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.1066, allocations: 7.953 kB / 0.5325 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.1068, allocations: 31.91 kB / 0.5326 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.1068, allocations: 4 kB / 0.5326 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.1075, allocations: 71.8 kB / 0.5326 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.1076, allocations: 51.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.0002885/0.1079, allocations: 172 kB / 0.5329 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.108, allocations: 23.72 kB / 0.5329 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.078e-05/0.1081, allocations: 38.17 kB / 0.5329 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-06/0.1081, allocations: 0 / 0.5329 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.834e-06/0.1081, allocations: 3.953 kB / 0.5329 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-06/0.1081, allocations: 4 kB / 0.5329 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.1093, allocations: 0.5606 MB / 0.5335 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.345e-06/0.1093, allocations: 4 kB / 0.5335 GB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1094, allocations: 7.984 kB / 0.5335 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.495e-06/0.1094, allocations: 3.953 kB / 0.5335 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.1095, allocations: 15.98 kB / 0.5335 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.1095, allocations: 3.938 kB / 0.5335 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.14e-06/0.1095, allocations: 0 / 0.5335 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.1101, allocations: 325.8 kB / 0.5338 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.1104, allocations: 152.7 kB / 0.534 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.1105, allocations: 11.95 kB / 0.534 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.1108, allocations: 15.98 kB / 0.534 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.1109, allocations: 15.97 kB / 0.534 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.1109, allocations: 31.98 kB / 0.534 GB, free: 6.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.1112, allocations: 205.9 kB / 0.5342 GB, free: 6.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.1112, allocations: 4 kB / 0.5342 GB, free: 6.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004897/0.1117, allocations: 47.98 kB / 0.5343 GB, free: 6.496 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.0001897/0.1119, allocations: 123 kB / 0.5344 GB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008157/0.1128, allocations: 342.7 kB / 0.5347 GB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.1128, allocations: 4 kB / 0.5347 GB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.113, allocations: 72.28 kB / 0.5348 GB, free: 5.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1133, allocations: 16.88 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.0009617/0.1143, allocations: 452.7 kB / 0.5353 GB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.1148, allocations: 0.7438 MB / 0.536 GB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.1151, allocations: 37.42 kB / 0.536 GB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.1153, allocations: 39.36 kB / 0.5361 GB, free: 4.609 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1153, allocations: 4 kB / 0.5361 GB, free: 4.605 MB / 378.7 MB Notification: Performance of Templates: time 0.01093/0.1262, allocations: 3.905 MB / 0.5399 GB, free: 0.7188 MB / 378.7 MB