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.CalendarTimeMonthsMinus.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.002073/0.002073, allocations: 179.7 kB / 325.8 MB, free: 2.781 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.688/2.688, allocations: 205.4 MB / 0.5767 GB, free: 20.71 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.0009035/0.0009028, allocations: 95.22 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004768, allocations: 17.84 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 106.3 MB / 0.8991 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002014/0.2088, allocations: 1.377 MB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2099, allocations: 459.1 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.21, allocations: 4 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.827e-05/0.2101, allocations: 11.86 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.2102, allocations: 15.92 kB / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.2111, allocations: 221.9 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.2114, allocations: 303.5 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2115, allocations: 29.38 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.212, allocations: 235.5 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.2123, allocations: 135.7 kB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.2124, allocations: 12 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.2125, allocations: 12 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2126, allocations: 79.77 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.68e-05/0.2127, allocations: 77.52 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.2131, allocations: 315.6 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2131, allocations: 3.938 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2131, allocations: 3.938 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2131, allocations: 0 / 0.9023 GB, free: 62.1 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.001428/0.2146, allocations: 0.6493 MB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2146, allocations: 8.031 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.2147, allocations: 36.56 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.2151, allocations: 268.4 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.2152, allocations: 24.44 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/0.2153, allocations: 20.38 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2158, allocations: 170 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2158, allocations: 7.938 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.2159, allocations: 8 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2159, allocations: 0 / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.2161, allocations: 61.86 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.2177, allocations: 0.5627 MB / 0.904 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.2181, allocations: 138.7 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.2183, allocations: 56.83 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.2184, allocations: 7.938 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006446/0.219, allocations: 230.4 kB / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.495e-06/0.2191, allocations: 0 / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008505/0.2199, allocations: 281.1 kB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.22, allocations: 63.41 kB / 0.9048 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.2204, allocations: 312.4 kB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.2204, allocations: 41.7 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.2205, allocations: 105 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.2206, allocations: 39.53 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.2207, allocations: 8 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.2207, allocations: 326.8 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.2211, allocations: 108.2 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.2215, allocations: 162.4 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.2219, allocations: 159.3 kB / 0.906 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2219, allocations: 0 / 0.906 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00108/0.223, allocations: 448 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.2231, allocations: 79.39 kB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2231, allocations: 0 / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2231, allocations: 4 kB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2234, allocations: 27.91 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2234, allocations: 4 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/0.2243, allocations: 71.89 kB / 0.9066 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.2244, allocations: 51.98 kB / 0.9066 GB, free: 57.33 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.0002683/0.2247, allocations: 193.7 kB / 0.9068 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.115e-05/0.2248, allocations: 31.56 kB / 0.9068 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.2249, allocations: 34.36 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2249, allocations: 4 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2249, allocations: 0 / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2249, allocations: 4 kB / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2259, allocations: 0.6049 MB / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.226, allocations: 0 / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.226, allocations: 12 kB / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2261, allocations: 0 / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.2261, allocations: 11.97 kB / 0.9075 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2261, allocations: 4 kB / 0.9075 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2261, allocations: 3.938 kB / 0.9075 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.2267, allocations: 328.6 kB / 0.9078 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.227, allocations: 184.6 kB / 0.908 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.781e-05/0.2271, allocations: 12 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.2275, allocations: 11.98 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.2276, allocations: 27.91 kB / 0.908 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.2276, allocations: 27.98 kB / 0.9081 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002645/0.2279, allocations: 231 kB / 0.9083 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2279, allocations: 0 / 0.9083 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004518/0.2284, allocations: 52 kB / 0.9083 GB, free: 55.47 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.0001812/0.2286, allocations: 121 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00079/0.2294, allocations: 362.6 kB / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2294, allocations: 384 / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.2296, allocations: 85.05 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.2302, allocations: 42.64 kB / 0.9089 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.2312, allocations: 491.5 kB / 0.9094 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2315, allocations: 0.7594 MB / 0.9101 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.2317, allocations: 37.42 kB / 0.9102 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.2319, allocations: 43.41 kB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.2319, allocations: 0 / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.01031/0.2422, allocations: 4.28 MB / 0.9144 GB, free: 49.25 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)