Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, 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.001579/0.001579, allocations: 174.8 kB / 325.6 MB, free: 2.84 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.542/2.542, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.0017/0.0017, allocations: 100.5 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.000631, allocations: 11.84 kB / 0.7952 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2076, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002575/0.2102, allocations: 1.367 MB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2118, allocations: 446 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.2119, allocations: 3.938 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.726e-05/0.212, allocations: 3.938 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.2122, allocations: 27.95 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2133, allocations: 214.2 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.2138, allocations: 179.7 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2139, allocations: 29.42 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.2144, allocations: 167.6 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.2147, allocations: 131.7 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.2148, allocations: 12 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.215, allocations: 12 kB / 0.9014 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.2151, allocations: 75.78 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.2152, allocations: 73.58 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.2157, allocations: 319.5 kB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2158, allocations: 3.938 kB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2158, allocations: 0 / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2158, allocations: 0 / 0.9019 GB, free: 62.4 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001724/0.2175, allocations: 0.6503 MB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2176, allocations: 8.031 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.2178, allocations: 35.62 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.2183, allocations: 271.1 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/0.2184, allocations: 15.98 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.2185, allocations: 20 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.2192, allocations: 177.4 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2192, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.2193, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2193, allocations: 8 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.2197, allocations: 63.97 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.2219, allocations: 0.5627 MB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.2226, allocations: 138.7 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.2226, allocations: 3.984 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009146/0.2236, allocations: 228.2 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.366e-06/0.2236, allocations: 4 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001305/0.2249, allocations: 279.5 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.225, allocations: 63.39 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.2256, allocations: 316.3 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.2257, allocations: 45.69 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2258, allocations: 97.05 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.2259, allocations: 47.58 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.226, allocations: 8 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.2261, allocations: 318.8 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.2267, allocations: 108.2 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.2273, allocations: 150.4 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.2279, allocations: 175.3 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2279, allocations: 0 / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001574/0.2295, allocations: 435 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.2296, allocations: 79.38 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2296, allocations: 8.188 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.2297, allocations: 7.953 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.23, allocations: 23.92 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.23, allocations: 4 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.2313, allocations: 79.72 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.2314, allocations: 51.98 kB / 0.9062 GB, free: 57.68 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003784/0.2318, allocations: 190.6 kB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.2319, allocations: 27.62 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.811e-05/0.232, allocations: 30.36 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2321, allocations: 3.953 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.2321, allocations: 3.984 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.2321, allocations: 4 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.2457, allocations: 0.5996 MB / 0.907 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2458, allocations: 0 / 0.907 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2459, allocations: 11.98 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.246, allocations: 3.953 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.246, allocations: 7.984 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.246, allocations: 4 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2461, allocations: 0 / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.2469, allocations: 324.5 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.2473, allocations: 184.6 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.2475, allocations: 19.89 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.248, allocations: 15.98 kB / 0.9076 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.2481, allocations: 19.91 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.2482, allocations: 27.98 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003926/0.2486, allocations: 227 kB / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2486, allocations: 3.938 kB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007932/0.2494, allocations: 59.98 kB / 0.9079 GB, free: 55.84 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002277/0.2496, allocations: 117 kB / 0.908 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.2507, allocations: 364.3 kB / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2508, allocations: 0 / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.2511, allocations: 83.8 kB / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.2517, allocations: 37 kB / 0.9085 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/0.261, allocations: 491.6 kB / 0.9089 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.2613, allocations: 0.7594 MB / 0.9097 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003229/0.2617, allocations: 45.41 kB / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.2619, allocations: 35.42 kB / 0.9097 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of SimCode: time 1.292e-06/0.2619, allocations: 0 / 0.9097 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.02989/0.2918, allocations: 4.28 MB / 0.9139 GB, free: 49.6 MB / 0.6042 GB