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.003897/0.003897, allocations: 355 kB / 15.94 MB, free: 6.211 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.658/1.658, allocations: 165.8 MB / 182.5 MB, free: 5.418 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.987/3.987, allocations: 410.7 MB / 0.5995 GB, free: 15.05 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.001719, allocations: 192.9 kB / 0.6662 GB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004622, allocations: 8 kB / 0.7423 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3333, allocations: 67.44 MB / 0.8081 GB, free: 28.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001377/0.3347, allocations: 1.184 MB / 0.8093 GB, free: 27.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007941/0.3356, allocations: 374.6 kB / 0.8096 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.3356, allocations: 0 / 0.8096 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.3357, allocations: 7.922 kB / 0.8097 GB, free: 27.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3358, allocations: 27.84 kB / 0.8097 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006695/0.3365, allocations: 206.3 kB / 0.8099 GB, free: 26.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.3367, allocations: 239.5 kB / 0.8101 GB, free: 26.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.3368, allocations: 8 kB / 0.8101 GB, free: 26.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.3371, allocations: 167.6 kB / 0.8103 GB, free: 26.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.3373, allocations: 127.7 kB / 0.8104 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.3374, allocations: 8 kB / 0.8104 GB, free: 26.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.161e-05/0.3374, allocations: 12 kB / 0.8104 GB, free: 26.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.3375, allocations: 79.77 kB / 0.8105 GB, free: 26.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.3376, allocations: 69.58 kB / 0.8106 GB, free: 26.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3379, allocations: 205.6 kB / 0.8108 GB, free: 26.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.386e-06/0.3379, allocations: 0 / 0.8108 GB, free: 26.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.096e-06/0.3379, allocations: 0 / 0.8108 GB, free: 26.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3379, allocations: 4 kB / 0.8108 GB, free: 26.05 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.0009832/0.3389, allocations: 0.6141 MB / 0.8114 GB, free: 25.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.339, allocations: 8.031 kB / 0.8114 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3391, allocations: 35.72 kB / 0.8114 GB, free: 25.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.3394, allocations: 254.5 kB / 0.8116 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.3394, allocations: 11.98 kB / 0.8117 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.3395, allocations: 23.92 kB / 0.8117 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.3398, allocations: 152.6 kB / 0.8118 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.883e-06/0.3399, allocations: 0 / 0.8118 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.3399, allocations: 0 / 0.8118 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3399, allocations: 4 kB / 0.8118 GB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3401, allocations: 47.97 kB / 0.8119 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.3405, allocations: 317.4 kB / 0.8122 GB, free: 24.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.3409, allocations: 126.7 kB / 0.8123 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.3411, allocations: 52.83 kB / 0.8123 GB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.3411, allocations: 8 kB / 0.8124 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000642/0.3418, allocations: 226.3 kB / 0.8126 GB, free: 24.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.994e-06/0.3418, allocations: 0 / 0.8126 GB, free: 24.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007874/0.3426, allocations: 277.1 kB / 0.8128 GB, free: 23.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.3427, allocations: 55.41 kB / 0.8129 GB, free: 23.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.3429, allocations: 298.8 kB / 0.8132 GB, free: 23.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.343, allocations: 37.69 kB / 0.8132 GB, free: 23.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.3431, allocations: 93.14 kB / 0.8133 GB, free: 23.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.3432, allocations: 43.44 kB / 0.8133 GB, free: 23.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3432, allocations: 8 kB / 0.8133 GB, free: 23.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.3433, allocations: 326.8 kB / 0.8137 GB, free: 22.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.3436, allocations: 92.17 kB / 0.8137 GB, free: 22.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.3439, allocations: 146.4 kB / 0.8139 GB, free: 22.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.3441, allocations: 149.8 kB / 0.814 GB, free: 22.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.544e-06/0.3442, allocations: 0 / 0.814 GB, free: 22.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008492/0.345, allocations: 423.1 kB / 0.8144 GB, free: 22.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/0.3451, allocations: 71.39 kB / 0.8145 GB, free: 21.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.589e-06/0.3451, allocations: 4 kB / 0.8145 GB, free: 21.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3452, allocations: 7.953 kB / 0.8145 GB, free: 21.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3454, allocations: 27.91 kB / 0.8145 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.768e-06/0.3454, allocations: 0 / 0.8145 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.346, allocations: 72.02 kB / 0.8146 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.3461, allocations: 51.98 kB / 0.8147 GB, free: 21.77 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.0002129/0.3464, allocations: 175.9 kB / 0.8148 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.3464, allocations: 27.62 kB / 0.8148 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.3465, allocations: 30.25 kB / 0.8149 GB, free: 21.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3465, allocations: 11.95 kB / 0.8149 GB, free: 21.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-06/0.3465, allocations: 0 / 0.8149 GB, free: 21.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3466, allocations: 0 / 0.8149 GB, free: 21.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.3474, allocations: 0.5602 MB / 0.8154 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.104e-06/0.3475, allocations: 0 / 0.8154 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.3475, allocations: 8 kB / 0.8154 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.857e-06/0.3476, allocations: 3.953 kB / 0.8154 GB, free: 20.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.3476, allocations: 11.97 kB / 0.8155 GB, free: 20.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3476, allocations: 4 kB / 0.8155 GB, free: 20.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.3476, allocations: 4 kB / 0.8155 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.3481, allocations: 319 kB / 0.8158 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.3483, allocations: 156.7 kB / 0.8159 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.3484, allocations: 11.95 kB / 0.8159 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.3487, allocations: 15.98 kB / 0.8159 GB, free: 20.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.3488, allocations: 19.91 kB / 0.816 GB, free: 20.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.3488, allocations: 27.98 kB / 0.816 GB, free: 20.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001974/0.349, allocations: 209.9 kB / 0.8162 GB, free: 20.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.3491, allocations: 0 / 0.8162 GB, free: 20.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.3495, allocations: 55.94 kB / 0.8162 GB, free: 20.03 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.0001411/0.3497, allocations: 112.1 kB / 0.8164 GB, free: 19.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.3503, allocations: 350.7 kB / 0.8167 GB, free: 19.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.943e-06/0.3503, allocations: 384 / 0.8167 GB, free: 19.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.3505, allocations: 71.91 kB / 0.8168 GB, free: 19.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.351, allocations: 27.06 kB / 0.8168 GB, free: 19.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.3518, allocations: 442 kB / 0.8172 GB, free: 18.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.352, allocations: 0.755 MB / 0.8179 GB, free: 18.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.3522, allocations: 37.42 kB / 0.818 GB, free: 18.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3524, allocations: 39.42 kB / 0.818 GB, free: 18.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.968e-06/0.3524, allocations: 0 / 0.818 GB, free: 18.14 MB / 378.7 MB Notification: Performance of Templates: time 0.009064/0.3615, allocations: 3.903 MB / 0.8218 GB, free: 14.26 MB / 378.7 MB