Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.768/2.768, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001612, allocations: 181.2 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.711/2.711, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 88.62 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004945, allocations: 17 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001834/0.2338, allocations: 1.186 MB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2349, allocations: 393.1 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.235, allocations: 4 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.235, allocations: 3.938 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.2352, allocations: 23.95 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009432/0.2362, allocations: 207.9 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.2365, allocations: 151.7 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.2366, allocations: 12 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.2369, allocations: 167.7 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2372, allocations: 123.7 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-05/0.2373, allocations: 8 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.2373, allocations: 8 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2375, allocations: 75.78 kB / 0.9012 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.2376, allocations: 69.58 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2378, allocations: 199.9 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2379, allocations: 0 / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.587e-06/0.2379, allocations: 4 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2379, allocations: 3.938 kB / 0.9014 GB, free: 62.87 MB / 0.6042 GB 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.001476/0.2394, allocations: 0.6064 MB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2394, allocations: 8.031 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.2396, allocations: 43.56 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.24, allocations: 254.5 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.24, allocations: 15.98 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.2401, allocations: 16 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.2406, allocations: 149.5 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2406, allocations: 0 / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.2407, allocations: 3.984 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2407, allocations: 4 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.2409, allocations: 39.98 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2413, allocations: 313.3 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.2417, allocations: 134.6 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.2418, allocations: 8 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006221/0.2424, allocations: 219.5 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.665e-06/0.2424, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008986/0.2433, allocations: 271.5 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2434, allocations: 63.38 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.2437, allocations: 283 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.2438, allocations: 37.7 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2439, allocations: 93.12 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.244, allocations: 47.39 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.244, allocations: 12 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.2441, allocations: 330.8 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.2445, allocations: 88.17 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.2448, allocations: 147.5 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.2452, allocations: 152.1 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.2452, allocations: 4 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001015/0.2462, allocations: 414.1 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.2463, allocations: 75.38 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2463, allocations: 0 / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2464, allocations: 12.12 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2467, allocations: 19.98 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.2467, allocations: 7.938 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.2476, allocations: 67.84 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.2477, allocations: 63.97 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB 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.0002528/0.248, allocations: 168 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.2481, allocations: 23.72 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.2482, allocations: 30.25 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2482, allocations: 4 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2482, allocations: 7.922 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2482, allocations: 0 / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2493, allocations: 0.5621 MB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2493, allocations: 0 / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.2494, allocations: 15.92 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2494, allocations: 0 / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.2495, allocations: 11.98 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2495, allocations: 0 / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2495, allocations: 0 / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.2501, allocations: 323 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.2503, allocations: 152.7 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.2504, allocations: 15.98 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.2508, allocations: 8 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.2509, allocations: 19.97 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.251, allocations: 27.98 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002448/0.2512, allocations: 213.9 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2512, allocations: 0 / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004904/0.2517, allocations: 55.94 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB 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.0001616/0.2519, allocations: 123 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007483/0.2527, allocations: 348.1 kB / 0.9073 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2527, allocations: 0 / 0.9073 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.2529, allocations: 67.95 kB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.2533, allocations: 18.3 kB / 0.9074 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.2542, allocations: 451.1 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.2544, allocations: 0.7592 MB / 0.9085 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.2547, allocations: 33.42 kB / 0.9086 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.2549, allocations: 35.42 kB / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.2549, allocations: 0 / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.01023/0.2651, allocations: 3.888 MB / 0.9124 GB, free: 51.15 MB / 0.6042 GB