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.003507/0.003507, allocations: 357.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.472/1.472, allocations: 165.8 MB / 183.1 MB, free: 5.434 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.917/3.917, allocations: 410.7 MB / 0.6001 GB, free: 15.3 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.001759/0.001759, allocations: 190.3 kB / 0.6668 GB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004699, allocations: 8 kB / 0.7429 GB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.419, allocations: 67.43 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001587/0.4206, allocations: 1.168 MB / 0.8099 GB, free: 27.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.4216, allocations: 387.1 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.4217, allocations: 0 / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.4217, allocations: 3.938 kB / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.4219, allocations: 27.84 kB / 0.8103 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.4226, allocations: 210.2 kB / 0.8105 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.4229, allocations: 239.5 kB / 0.8107 GB, free: 26.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.423, allocations: 8 kB / 0.8107 GB, free: 26.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.4233, allocations: 171.6 kB / 0.8109 GB, free: 26.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.4236, allocations: 127.7 kB / 0.811 GB, free: 26.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.145e-05/0.4236, allocations: 8 kB / 0.811 GB, free: 26.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.4237, allocations: 12 kB / 0.811 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4238, allocations: 79.78 kB / 0.8111 GB, free: 26.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.4239, allocations: 65.58 kB / 0.8112 GB, free: 26.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.4242, allocations: 209.6 kB / 0.8114 GB, free: 26.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4242, allocations: 0 / 0.8114 GB, free: 26.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4242, allocations: 0 / 0.8114 GB, free: 26.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4242, allocations: 4 kB / 0.8114 GB, free: 26.12 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.001336/0.4256, allocations: 0.6141 MB / 0.812 GB, free: 25.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4256, allocations: 12.02 kB / 0.812 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.4257, allocations: 27.72 kB / 0.812 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.4261, allocations: 250.5 kB / 0.8122 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.4262, allocations: 15.98 kB / 0.8122 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.4263, allocations: 23.94 kB / 0.8123 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.4267, allocations: 145.5 kB / 0.8124 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4268, allocations: 7.984 kB / 0.8124 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.4268, allocations: 3.984 kB / 0.8124 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4268, allocations: 0 / 0.8124 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.427, allocations: 53.59 kB / 0.8125 GB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.4274, allocations: 305.4 kB / 0.8128 GB, free: 24.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.4278, allocations: 130.7 kB / 0.8129 GB, free: 24.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.428, allocations: 56.83 kB / 0.8129 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4281, allocations: 4 kB / 0.8129 GB, free: 24.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.4287, allocations: 219.5 kB / 0.8132 GB, free: 24.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.364e-06/0.4287, allocations: 0 / 0.8132 GB, free: 24.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.000813/0.4295, allocations: 269.2 kB / 0.8134 GB, free: 23.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.4296, allocations: 59.39 kB / 0.8135 GB, free: 23.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.4299, allocations: 290.8 kB / 0.8137 GB, free: 23.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.43, allocations: 41.7 kB / 0.8138 GB, free: 23.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.43, allocations: 93.12 kB / 0.8139 GB, free: 23.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.4301, allocations: 51.44 kB / 0.8139 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.4302, allocations: 4 kB / 0.8139 GB, free: 23.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.4302, allocations: 330.8 kB / 0.8142 GB, free: 22.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.4306, allocations: 88.17 kB / 0.8143 GB, free: 22.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.4309, allocations: 142.4 kB / 0.8145 GB, free: 22.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.4313, allocations: 157.6 kB / 0.8146 GB, free: 22.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4313, allocations: 3.938 kB / 0.8146 GB, free: 22.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009688/0.4323, allocations: 415 kB / 0.815 GB, free: 22.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.4323, allocations: 75.56 kB / 0.8151 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4324, allocations: 7.984 kB / 0.8151 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4324, allocations: 7.953 kB / 0.8151 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.4327, allocations: 27.92 kB / 0.8151 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4327, allocations: 4 kB / 0.8151 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/0.4336, allocations: 71.84 kB / 0.8152 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/0.4337, allocations: 51.98 kB / 0.8152 GB, free: 21.83 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.0002187/0.4339, allocations: 167.9 kB / 0.8154 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.434, allocations: 31.62 kB / 0.8154 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.4341, allocations: 30.25 kB / 0.8155 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4341, allocations: 3.984 kB / 0.8155 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4341, allocations: 3.953 kB / 0.8155 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.4343, allocations: 160.7 kB / 0.8156 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.579e-05/0.4344, allocations: 8 kB / 0.8156 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.4347, allocations: 11.98 kB / 0.8156 GB, free: 21.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.4348, allocations: 15.97 kB / 0.8157 GB, free: 21.37 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006594/0.4355, allocations: 292.2 kB / 0.8159 GB, free: 21.08 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000577/0.4361, allocations: 406.2 kB / 0.8163 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001916/0.4363, allocations: 63.95 kB / 0.8164 GB, free: 20.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002309/0.4365, allocations: 201.9 kB / 0.8166 GB, free: 20.41 MB / 378.7 MB Notification: Performance of Backend: time 8.22e-07/0.4365, allocations: 0 / 0.8166 GB, free: 20.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009245/0.4374, allocations: 380.5 kB / 0.8169 GB, free: 20.01 MB / 378.7 MB Notification: Performance of SimCode: time 0.000914/0.4384, allocations: 0.8808 MB / 0.8178 GB, free: 19.07 MB / 378.7 MB Notification: Performance of Templates: time 0.009798/0.4482, allocations: 4.146 MB / 0.8219 GB, free: 14.96 MB / 378.7 MB