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.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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.297/2.297, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.00245/0.00245, allocations: 186.8 kB / 325.6 MB, free: 2.801 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.69/2.69, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001574/0.001574, allocations: 100.5 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004851, allocations: 12.03 kB / 0.7952 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2078, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002029/0.2099, allocations: 1.367 MB / 0.9002 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.211, allocations: 455.9 kB / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.2111, allocations: 3.938 kB / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.2112, allocations: 7.922 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2113, allocations: 19.97 kB / 0.9007 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.2123, allocations: 214 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.2126, allocations: 175.7 kB / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2127, allocations: 33.41 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.213, allocations: 175.6 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.2133, allocations: 127.7 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.2134, allocations: 12 kB / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.2135, allocations: 8 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2136, allocations: 75.78 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.2137, allocations: 73.58 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.2141, allocations: 327.4 kB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2141, allocations: 0 / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2141, allocations: 0 / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2141, allocations: 4 kB / 0.9019 GB, free: 62.34 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.001411/0.2156, allocations: 0.6413 MB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2156, allocations: 8.031 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.2157, allocations: 43.61 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.2162, allocations: 271.1 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.2163, allocations: 12 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.2164, allocations: 27.98 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.2169, allocations: 170.8 kB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2169, allocations: 0 / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.2169, allocations: 0 / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.217, allocations: 7.984 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.2172, allocations: 59.97 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2188, allocations: 0.555 MB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.2193, allocations: 146.6 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.2193, allocations: 3.984 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.22, allocations: 229.5 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.996e-06/0.22, allocations: 0 / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008802/0.2209, allocations: 287.3 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2209, allocations: 59.41 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.2213, allocations: 320.4 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.2214, allocations: 41.7 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.2215, allocations: 105 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.2216, allocations: 35.59 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.2216, allocations: 12 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.2217, allocations: 318.8 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.2221, allocations: 108.2 kB / 0.9052 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.2225, allocations: 158.4 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.2228, allocations: 160.1 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2228, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001058/0.2239, allocations: 447 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/0.224, allocations: 75.39 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.224, allocations: 7.938 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.2241, allocations: 7.953 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.2243, allocations: 27.91 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2244, allocations: 0 / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/0.2253, allocations: 79.92 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.2254, allocations: 51.98 kB / 0.9062 GB, free: 57.63 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.0002697/0.2257, allocations: 185.7 kB / 0.9064 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.2258, allocations: 27.62 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.2258, allocations: 38.36 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2259, allocations: 3.953 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2259, allocations: 0 / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2259, allocations: 0 / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2269, allocations: 0.6057 MB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2269, allocations: 0 / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.227, allocations: 4 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2271, allocations: 7.953 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.2271, allocations: 7.984 kB / 0.907 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2271, allocations: 8 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.2271, allocations: 3.984 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.2277, allocations: 319.1 kB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.228, allocations: 192.5 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.485e-05/0.2281, allocations: 19.94 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.2285, allocations: 11.98 kB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.2286, allocations: 19.92 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.2287, allocations: 35.97 kB / 0.9076 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002857/0.229, allocations: 227 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.229, allocations: 0 / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005119/0.2295, allocations: 48 kB / 0.9079 GB, free: 55.79 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.0002017/0.2297, allocations: 125 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008179/0.2305, allocations: 364.5 kB / 0.9084 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2306, allocations: 4.062 kB / 0.9084 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.2308, allocations: 79.75 kB / 0.9084 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.2312, allocations: 33.66 kB / 0.9085 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2322, allocations: 495.6 kB / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2325, allocations: 0.7555 MB / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.2328, allocations: 41.42 kB / 0.9097 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.233, allocations: 43.41 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.233, allocations: 0 / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.01088/0.2439, allocations: 4.275 MB / 0.9139 GB, free: 49.55 MB / 0.6042 GB