Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.156/5.156, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.002459/0.002459, allocations: 355.1 kB / 0.6446 GB, free: 185.6 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.31/4.31, allocations: 410.7 MB / 1.113 GB, free: 147.8 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.001728/0.001728, allocations: 180.1 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005466/0.0005469, allocations: 17.94 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2345, allocations: 115.3 MB / 1.461 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002979/0.2375, allocations: 1.359 MB / 1.463 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2393, allocations: 435.1 kB / 1.463 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2395, allocations: 0 / 1.463 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.058e-05/0.2396, allocations: 3.938 kB / 1.463 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.2398, allocations: 23.84 kB / 1.463 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2413, allocations: 218.8 kB / 1.463 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.242, allocations: 303.5 kB / 1.464 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.2422, allocations: 29.41 kB / 1.464 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.2428, allocations: 171.6 kB / 1.464 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.2433, allocations: 139.7 kB / 1.464 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.2434, allocations: 12 kB / 1.464 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.2435, allocations: 8 kB / 1.464 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.2437, allocations: 75.78 kB / 1.464 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2439, allocations: 85.52 kB / 1.464 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005868/0.2445, allocations: 315.5 kB / 1.464 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.2445, allocations: 0 / 1.464 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.085e-06/0.2446, allocations: 7.938 kB / 1.464 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.2446, allocations: 0 / 1.464 GB, free: 3.395 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.002227/0.2468, allocations: 0.6374 MB / 1.465 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/0.2469, allocations: 12.03 kB / 1.465 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.2472, allocations: 39.58 kB / 1.465 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.2478, allocations: 267.2 kB / 1.465 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.248, allocations: 19.94 kB / 1.465 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2481, allocations: 23.98 kB / 1.465 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.2489, allocations: 165.5 kB / 1.466 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.249, allocations: 0 / 1.466 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.2491, allocations: 3.984 kB / 1.466 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2491, allocations: 0 / 1.466 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.2495, allocations: 63.97 kB / 1.466 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.2521, allocations: 0.5627 MB / 1.466 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.253, allocations: 138.7 kB / 1.466 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.2534, allocations: 60.83 kB / 1.466 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.2534, allocations: 0 / 1.466 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.2545, allocations: 236.4 kB / 1.467 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 4.659e-06/0.2545, allocations: 0 / 1.467 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001571/0.2561, allocations: 289.2 kB / 1.467 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.2562, allocations: 59.41 kB / 1.467 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/0.257, allocations: 312.5 kB / 1.467 GB, free: 328 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.2572, allocations: 37.7 kB / 1.467 GB, free: 284 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.2574, allocations: 105 kB / 1.467 GB, free: 176 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2576, allocations: 47.45 kB / 1.467 GB, free: 128 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.2577, allocations: 8 kB / 1.467 GB, free: 120 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.2579, allocations: 326.8 kB / 1.468 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.2586, allocations: 104.2 kB / 1.468 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.2593, allocations: 162.9 kB / 1.468 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.26, allocations: 164.1 kB / 1.468 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.26, allocations: 3.938 kB / 1.468 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001901/0.2619, allocations: 440 kB / 1.469 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.2621, allocations: 78.36 kB / 1.469 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.2621, allocations: 192 / 1.469 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.2622, allocations: 8 kB / 1.469 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.2626, allocations: 31.86 kB / 1.469 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.2627, allocations: 4 kB / 1.469 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.264, allocations: 67.86 kB / 1.469 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.2642, allocations: 55.98 kB / 1.469 GB, free: 14.63 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.0005366/0.2647, allocations: 189.7 kB / 1.469 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2649, allocations: 35.56 kB / 1.469 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.265, allocations: 30.36 kB / 1.469 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2651, allocations: 0 / 1.469 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2651, allocations: 0 / 1.469 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.2656, allocations: 188.7 kB / 1.469 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2657, allocations: 16 kB / 1.469 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.2662, allocations: 11.98 kB / 1.469 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2663, allocations: 19.97 kB / 1.469 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001193/0.2675, allocations: 292.7 kB / 1.47 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001185/0.2688, allocations: 402.3 kB / 1.47 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003686/0.2692, allocations: 75.02 kB / 1.47 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005376/0.2697, allocations: 223 kB / 1.47 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of Backend: time 9.82e-07/0.2697, allocations: 0 / 1.47 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.2716, allocations: 405.1 kB / 1.471 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of SimCode: time 0.002056/0.2737, allocations: 0.9208 MB / 1.472 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.01973/0.2935, allocations: 4.541 MB / 1.476 GB, free: 7.227 MB / 0.6198 GB