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.003649/0.003649, allocations: 357.2 kB / 16.59 MB, free: 5.559 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.428/1.428, allocations: 165.8 MB / 183.1 MB, free: 5.391 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.652/3.652, allocations: 410.7 MB / 0.6001 GB, free: 15.08 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.001729/0.001729, allocations: 191.8 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004559, allocations: 12 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4467, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002707/0.4495, allocations: 1.176 MB / 0.8099 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4511, allocations: 386.8 kB / 0.8102 GB, free: 27.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-05/0.4512, allocations: 7.938 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.4513, allocations: 7.922 kB / 0.8103 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.4515, allocations: 15.92 kB / 0.8103 GB, free: 27.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4528, allocations: 207.3 kB / 0.8105 GB, free: 26.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004658/0.4533, allocations: 239.5 kB / 0.8107 GB, free: 26.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.236e-05/0.4534, allocations: 4 kB / 0.8107 GB, free: 26.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.4539, allocations: 175.6 kB / 0.8109 GB, free: 26.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.4543, allocations: 123.8 kB / 0.811 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.4545, allocations: 11.94 kB / 0.811 GB, free: 26.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.4546, allocations: 8 kB / 0.811 GB, free: 26.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.4548, allocations: 83.77 kB / 0.8111 GB, free: 26.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.4549, allocations: 65.58 kB / 0.8112 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.4553, allocations: 205.7 kB / 0.8113 GB, free: 26.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4553, allocations: 0 / 0.8113 GB, free: 26.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4553, allocations: 0 / 0.8113 GB, free: 26.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4554, allocations: 0 / 0.8113 GB, free: 26.09 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.001846/0.4572, allocations: 0.618 MB / 0.812 GB, free: 25.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.4573, allocations: 8.031 kB / 0.812 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.4575, allocations: 31.72 kB / 0.812 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.458, allocations: 258.4 kB / 0.8122 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.4581, allocations: 16 kB / 0.8123 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4583, allocations: 19.98 kB / 0.8123 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.4589, allocations: 153.5 kB / 0.8124 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.459, allocations: 0 / 0.8124 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.459, allocations: 4 kB / 0.8124 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4591, allocations: 0 / 0.8124 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.4594, allocations: 47.97 kB / 0.8125 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.4601, allocations: 313.4 kB / 0.8128 GB, free: 24.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.4608, allocations: 134.6 kB / 0.8129 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.4612, allocations: 52.84 kB / 0.8129 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.4612, allocations: 0 / 0.8129 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.4623, allocations: 230.1 kB / 0.8132 GB, free: 24.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 5.17e-06/0.4624, allocations: 0 / 0.8132 GB, free: 24.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.001405/0.4638, allocations: 269.1 kB / 0.8134 GB, free: 23.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.4639, allocations: 63.41 kB / 0.8135 GB, free: 23.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.4644, allocations: 282.9 kB / 0.8138 GB, free: 23.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4645, allocations: 45.69 kB / 0.8138 GB, free: 23.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4646, allocations: 93.12 kB / 0.8139 GB, free: 23.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.4647, allocations: 43.45 kB / 0.8139 GB, free: 23.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.4648, allocations: 15.94 kB / 0.8139 GB, free: 23.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.4649, allocations: 322.8 kB / 0.8142 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.4655, allocations: 92.11 kB / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.4661, allocations: 146.4 kB / 0.8145 GB, free: 22.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.4666, allocations: 154 kB / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.4666, allocations: 4 kB / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00158/0.4682, allocations: 411.8 kB / 0.815 GB, free: 22.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.4684, allocations: 71.39 kB / 0.8151 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4684, allocations: 0 / 0.8151 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.4685, allocations: 12.14 kB / 0.8151 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.4689, allocations: 27.97 kB / 0.8151 GB, free: 21.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.4689, allocations: 7.938 kB / 0.8151 GB, free: 21.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4703, allocations: 63.86 kB / 0.8152 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.4705, allocations: 55.98 kB / 0.8152 GB, free: 21.79 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.0003522/0.4708, allocations: 175.9 kB / 0.8154 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.471, allocations: 27.62 kB / 0.8154 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.854e-05/0.4711, allocations: 26.25 kB / 0.8155 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4711, allocations: 4 kB / 0.8155 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4711, allocations: 3.953 kB / 0.8155 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.4715, allocations: 152.7 kB / 0.8156 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4716, allocations: 8 kB / 0.8156 GB, free: 21.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.4721, allocations: 15.98 kB / 0.8156 GB, free: 21.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.4722, allocations: 19.97 kB / 0.8157 GB, free: 21.33 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001045/0.4733, allocations: 300.2 kB / 0.8159 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009376/0.4742, allocations: 406.2 kB / 0.8163 GB, free: 20.62 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003137/0.4746, allocations: 59.97 kB / 0.8164 GB, free: 20.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003616/0.4749, allocations: 209.9 kB / 0.8166 GB, free: 20.36 MB / 378.7 MB Notification: Performance of Backend: time 1.182e-06/0.475, allocations: 0 / 0.8166 GB, free: 20.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.4765, allocations: 378.2 kB / 0.817 GB, free: 19.96 MB / 378.7 MB Notification: Performance of SimCode: time 0.001359/0.4778, allocations: 0.8755 MB / 0.8178 GB, free: 19.04 MB / 378.7 MB Notification: Performance of Templates: time 0.01537/0.4932, allocations: 4.156 MB / 0.8219 GB, free: 14.91 MB / 378.7 MB