Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.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 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.194/5.194, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002696/0.002695, allocations: 359.4 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.714/4.714, allocations: 410.7 MB / 1.113 GB, free: 148 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002606/0.002606, allocations: 181.9 kB / 1.226 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004825, allocations: 17.41 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 115.3 MB / 1.461 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002042/0.228, allocations: 1.355 MB / 1.463 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2292, allocations: 439.1 kB / 1.463 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.2293, allocations: 0 / 1.463 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.2294, allocations: 7.922 kB / 1.463 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2295, allocations: 27.84 kB / 1.463 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/0.2304, allocations: 215 kB / 1.463 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.2308, allocations: 303.5 kB / 1.464 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2309, allocations: 21.44 kB / 1.464 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.2312, allocations: 175.5 kB / 1.464 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.2315, allocations: 131.7 kB / 1.464 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.2316, allocations: 8 kB / 1.464 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.22e-05/0.2317, allocations: 8 kB / 1.464 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2318, allocations: 83.77 kB / 1.464 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.2319, allocations: 85.56 kB / 1.464 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.2323, allocations: 319.4 kB / 1.464 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2323, allocations: 0 / 1.464 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2323, allocations: 0 / 1.464 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2323, allocations: 0 / 1.464 GB, free: 3.453 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.001401/0.2337, allocations: 0.6413 MB / 1.465 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2338, allocations: 12.03 kB / 1.465 GB, free: 2.727 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2339, allocations: 39.58 kB / 1.465 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.2343, allocations: 271.2 kB / 1.465 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.2344, allocations: 11.98 kB / 1.465 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.2345, allocations: 20 kB / 1.465 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.235, allocations: 173.4 kB / 1.466 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.235, allocations: 3.938 kB / 1.466 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.2351, allocations: 4 kB / 1.466 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2351, allocations: 4 kB / 1.466 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.2353, allocations: 59.23 kB / 1.466 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.237, allocations: 0.5705 MB / 1.466 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.2375, allocations: 130.7 kB / 1.466 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.2378, allocations: 64.83 kB / 1.466 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.2378, allocations: 4 kB / 1.466 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008052/0.2386, allocations: 231.3 kB / 1.467 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.286e-06/0.2387, allocations: 0 / 1.467 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001068/0.2397, allocations: 285.2 kB / 1.467 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.2398, allocations: 63.34 kB / 1.467 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.2403, allocations: 308.5 kB / 1.467 GB, free: 388 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.2405, allocations: 45.69 kB / 1.467 GB, free: 336 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2406, allocations: 93.05 kB / 1.467 GB, free: 240 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.2407, allocations: 51.44 kB / 1.467 GB, free: 188 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.2408, allocations: 8 kB / 1.467 GB, free: 180 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.241, allocations: 334.8 kB / 1.468 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.2414, allocations: 100.2 kB / 1.468 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.2419, allocations: 158.9 kB / 1.468 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.2424, allocations: 171.9 kB / 1.468 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2424, allocations: 0 / 1.468 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001259/0.2437, allocations: 439 kB / 1.469 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.2438, allocations: 75.39 kB / 1.469 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2438, allocations: 4.188 kB / 1.469 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2439, allocations: 7.984 kB / 1.469 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.2442, allocations: 35.88 kB / 1.469 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2442, allocations: 0 / 1.469 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.2452, allocations: 75.8 kB / 1.469 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.2453, allocations: 47.98 kB / 1.469 GB, free: 14.68 MB / 0.6198 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.0003809/0.2457, allocations: 197.7 kB / 1.469 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.2458, allocations: 27.62 kB / 1.469 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/0.2459, allocations: 30.36 kB / 1.469 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2459, allocations: 0 / 1.469 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2459, allocations: 3.984 kB / 1.469 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.2463, allocations: 180.7 kB / 1.469 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.615e-05/0.2464, allocations: 20 kB / 1.469 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.2467, allocations: 11.98 kB / 1.469 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.2468, allocations: 19.97 kB / 1.469 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008305/0.2477, allocations: 295.7 kB / 1.47 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007772/0.2485, allocations: 414.2 kB / 1.47 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002373/0.2487, allocations: 67.91 kB / 1.47 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003668/0.2491, allocations: 227 kB / 1.47 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of Backend: time 4.8e-07/0.2491, allocations: 0 / 1.47 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.2504, allocations: 402.8 kB / 1.471 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001494/0.2519, allocations: 0.9286 MB / 1.472 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.01331/0.2652, allocations: 4.52 MB / 1.476 GB, free: 7.305 MB / 0.6198 GB