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.002411/0.002411, allocations: 353 kB / 15.94 MB, free: 6.207 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.699/1.699, allocations: 165.8 MB / 182.5 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.618/3.618, allocations: 410.7 MB / 0.5995 GB, free: 15.19 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.001735/0.001735, allocations: 194 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007598/0.00076, allocations: 12 kB / 0.7423 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3473, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001355/0.3487, allocations: 1.176 MB / 0.8093 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.3495, allocations: 384.3 kB / 0.8097 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.3496, allocations: 0 / 0.8097 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.3497, allocations: 7.938 kB / 0.8097 GB, free: 27.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.3498, allocations: 11.92 kB / 0.8097 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.3505, allocations: 215.4 kB / 0.8099 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3507, allocations: 239.5 kB / 0.8101 GB, free: 26.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.3507, allocations: 15.97 kB / 0.8101 GB, free: 26.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.351, allocations: 159.6 kB / 0.8103 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3512, allocations: 131.7 kB / 0.8104 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.3513, allocations: 8 kB / 0.8104 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.3514, allocations: 12 kB / 0.8104 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.3515, allocations: 79.78 kB / 0.8105 GB, free: 26.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.3515, allocations: 65.58 kB / 0.8106 GB, free: 26.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3518, allocations: 209.6 kB / 0.8108 GB, free: 26.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.105e-06/0.3518, allocations: 4 kB / 0.8108 GB, free: 26.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.831e-06/0.3518, allocations: 4 kB / 0.8108 GB, free: 26.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3518, allocations: 0 / 0.8108 GB, free: 26.1 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.0009961/0.3528, allocations: 0.6141 MB / 0.8114 GB, free: 25.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3529, allocations: 8.031 kB / 0.8114 GB, free: 25.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.353, allocations: 31.72 kB / 0.8114 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.3533, allocations: 254.5 kB / 0.8117 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.3534, allocations: 12 kB / 0.8117 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.3535, allocations: 23.92 kB / 0.8117 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.3539, allocations: 150.7 kB / 0.8118 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.927e-06/0.3539, allocations: 0 / 0.8118 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.3539, allocations: 4 kB / 0.8118 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.398e-06/0.3539, allocations: 4 kB / 0.8118 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3541, allocations: 43.97 kB / 0.8119 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.3546, allocations: 313.4 kB / 0.8122 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.355, allocations: 126.7 kB / 0.8123 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.3551, allocations: 56.83 kB / 0.8124 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3552, allocations: 4 kB / 0.8124 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005349/0.3557, allocations: 226.1 kB / 0.8126 GB, free: 24.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 3.112e-06/0.3557, allocations: 0 / 0.8126 GB, free: 24.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006923/0.3564, allocations: 269.2 kB / 0.8128 GB, free: 23.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3565, allocations: 63.39 kB / 0.8129 GB, free: 23.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3568, allocations: 290.9 kB / 0.8132 GB, free: 23.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.3569, allocations: 41.64 kB / 0.8132 GB, free: 23.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.3569, allocations: 97.12 kB / 0.8133 GB, free: 23.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.357, allocations: 43.44 kB / 0.8133 GB, free: 23.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.3571, allocations: 8 kB / 0.8134 GB, free: 23.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.3571, allocations: 322.8 kB / 0.8137 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.3574, allocations: 96.17 kB / 0.8138 GB, free: 22.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.3577, allocations: 142.4 kB / 0.8139 GB, free: 22.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.358, allocations: 153.6 kB / 0.814 GB, free: 22.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.358, allocations: 0 / 0.814 GB, free: 22.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008532/0.3589, allocations: 415.2 kB / 0.8144 GB, free: 22.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/0.359, allocations: 75.38 kB / 0.8145 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.232e-06/0.359, allocations: 4 kB / 0.8145 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.359, allocations: 7.953 kB / 0.8145 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.3592, allocations: 27.92 kB / 0.8145 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.211e-06/0.3593, allocations: 3.984 kB / 0.8145 GB, free: 21.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.3599, allocations: 71.92 kB / 0.8146 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.36, allocations: 51.98 kB / 0.8147 GB, free: 21.82 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.0002112/0.3602, allocations: 171.9 kB / 0.8148 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.3603, allocations: 35.59 kB / 0.8149 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.3603, allocations: 26.25 kB / 0.8149 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.195e-06/0.3604, allocations: 7.953 kB / 0.8149 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.842e-06/0.3604, allocations: 4 kB / 0.8149 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3604, allocations: 0 / 0.8149 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.3613, allocations: 0.5524 MB / 0.8154 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-06/0.3613, allocations: 0 / 0.8154 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.3614, allocations: 11.98 kB / 0.8154 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-06/0.3614, allocations: 7.891 kB / 0.8155 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.3614, allocations: 19.98 kB / 0.8155 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.049e-06/0.3615, allocations: 0 / 0.8155 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3615, allocations: 0 / 0.8155 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.362, allocations: 319 kB / 0.8158 GB, free: 20.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.3622, allocations: 156.7 kB / 0.8159 GB, free: 20.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.3622, allocations: 19.94 kB / 0.8159 GB, free: 20.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.3625, allocations: 11.98 kB / 0.816 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.3626, allocations: 15.92 kB / 0.816 GB, free: 20.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.3627, allocations: 35.97 kB / 0.816 GB, free: 20.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.3629, allocations: 205.9 kB / 0.8162 GB, free: 20.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.3629, allocations: 0 / 0.8162 GB, free: 20.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004504/0.3634, allocations: 51.98 kB / 0.8163 GB, free: 20.08 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.0001234/0.3635, allocations: 108.5 kB / 0.8164 GB, free: 19.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.3641, allocations: 346.7 kB / 0.8167 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3642, allocations: 0 / 0.8167 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3643, allocations: 76.27 kB / 0.8168 GB, free: 19.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.3648, allocations: 24.88 kB / 0.8168 GB, free: 19.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.3656, allocations: 442.9 kB / 0.8172 GB, free: 19.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.3658, allocations: 0.7509 MB / 0.8179 GB, free: 18.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.366, allocations: 37.42 kB / 0.818 GB, free: 18.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3662, allocations: 35.42 kB / 0.818 GB, free: 18.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.601e-06/0.3662, allocations: 0 / 0.818 GB, free: 18.2 MB / 378.7 MB Notification: Performance of Templates: time 0.009029/0.3752, allocations: 3.906 MB / 0.8218 GB, free: 14.32 MB / 378.7 MB