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.002692/0.002698, allocations: 356.5 kB / 16.59 MB, free: 5.562 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.48/1.48, allocations: 165.8 MB / 183.1 MB, free: 5.395 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.99/3.99, allocations: 410.7 MB / 0.6001 GB, free: 15.06 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.00172/0.00172, allocations: 198.4 kB / 0.6668 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.000467, allocations: 11.98 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4218, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001585/0.4235, allocations: 1.172 MB / 0.8099 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.4245, allocations: 387 kB / 0.8102 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.4245, allocations: 4 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.4246, allocations: 3.938 kB / 0.8103 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.4247, allocations: 27.84 kB / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.4255, allocations: 207.9 kB / 0.8105 GB, free: 26.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.4258, allocations: 239.5 kB / 0.8107 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.4258, allocations: 4 kB / 0.8107 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.4262, allocations: 167.6 kB / 0.8109 GB, free: 26.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.4264, allocations: 131.7 kB / 0.811 GB, free: 26.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.4265, allocations: 12 kB / 0.811 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.4266, allocations: 8 kB / 0.811 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.4267, allocations: 83.78 kB / 0.8111 GB, free: 26.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.4268, allocations: 65.58 kB / 0.8112 GB, free: 26.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.427, allocations: 213.6 kB / 0.8114 GB, free: 26.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4271, allocations: 0 / 0.8114 GB, free: 26.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4271, allocations: 0 / 0.8114 GB, free: 26.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4271, allocations: 0 / 0.8114 GB, free: 26.07 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.001241/0.4283, allocations: 0.6102 MB / 0.812 GB, free: 25.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4284, allocations: 12.02 kB / 0.812 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.4285, allocations: 35.66 kB / 0.812 GB, free: 25.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4288, allocations: 250.5 kB / 0.8122 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.4289, allocations: 15.98 kB / 0.8123 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.429, allocations: 12 kB / 0.8123 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.4294, allocations: 153.4 kB / 0.8124 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4294, allocations: 0 / 0.8124 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.4295, allocations: 3.984 kB / 0.8124 GB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4295, allocations: 7.984 kB / 0.8124 GB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.4297, allocations: 55.91 kB / 0.8125 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.4301, allocations: 305.4 kB / 0.8128 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.4305, allocations: 122.7 kB / 0.8129 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4307, allocations: 56.83 kB / 0.8129 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4308, allocations: 4 kB / 0.8129 GB, free: 24.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/0.4314, allocations: 223.5 kB / 0.8132 GB, free: 24.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.4314, allocations: 0 / 0.8132 GB, free: 24.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008029/0.4322, allocations: 273.1 kB / 0.8134 GB, free: 23.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4322, allocations: 63.39 kB / 0.8135 GB, free: 23.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.4327, allocations: 290.9 kB / 0.8138 GB, free: 23.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.4328, allocations: 37.7 kB / 0.8138 GB, free: 23.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.4328, allocations: 93.08 kB / 0.8139 GB, free: 23.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.4329, allocations: 47.42 kB / 0.8139 GB, free: 23.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.433, allocations: 8 kB / 0.8139 GB, free: 23.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4331, allocations: 326.8 kB / 0.8143 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.4335, allocations: 92.17 kB / 0.8143 GB, free: 22.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.4338, allocations: 142.4 kB / 0.8145 GB, free: 22.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.4342, allocations: 149.6 kB / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4342, allocations: 0 / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009713/0.4352, allocations: 419.1 kB / 0.815 GB, free: 22.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.4352, allocations: 82.75 kB / 0.8151 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4353, allocations: 4 kB / 0.8151 GB, free: 21.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4353, allocations: 7.953 kB / 0.8151 GB, free: 21.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.4356, allocations: 27.92 kB / 0.8151 GB, free: 21.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.4356, allocations: 0 / 0.8151 GB, free: 21.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.4365, allocations: 72.05 kB / 0.8152 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.4366, allocations: 51.97 kB / 0.8153 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.0002227/0.4368, allocations: 175.4 kB / 0.8154 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.4369, allocations: 31.62 kB / 0.8154 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.437, allocations: 30.25 kB / 0.8155 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.437, allocations: 3.984 kB / 0.8155 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.437, allocations: 3.953 kB / 0.8155 GB, free: 21.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4372, allocations: 152.7 kB / 0.8156 GB, free: 21.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.4373, allocations: 8 kB / 0.8156 GB, free: 21.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4376, allocations: 15.98 kB / 0.8157 GB, free: 21.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.4377, allocations: 15.97 kB / 0.8157 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006613/0.4384, allocations: 288.8 kB / 0.8159 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005939/0.439, allocations: 402.2 kB / 0.8163 GB, free: 20.62 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001972/0.4392, allocations: 63.95 kB / 0.8164 GB, free: 20.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.4395, allocations: 201.9 kB / 0.8166 GB, free: 20.36 MB / 378.7 MB Notification: Performance of Backend: time 8.62e-07/0.4395, allocations: 4 kB / 0.8166 GB, free: 20.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009277/0.4404, allocations: 388.1 kB / 0.817 GB, free: 19.95 MB / 378.7 MB Notification: Performance of SimCode: time 0.0009354/0.4414, allocations: 0.8773 MB / 0.8178 GB, free: 19.02 MB / 378.7 MB Notification: Performance of Templates: time 0.009872/0.4513, allocations: 4.141 MB / 0.8219 GB, free: 14.91 MB / 378.7 MB