Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.244/5.244, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 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.002608/0.002607, allocations: 359.2 kB / 0.6447 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.343/4.343, allocations: 410.7 MB / 1.113 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001949/0.001948, allocations: 182.4 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004893, allocations: 16 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7359, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002038/0.738, allocations: 1.361 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.7393, allocations: 448.1 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.7394, allocations: 1.375 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.7395, allocations: 7.922 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.7396, allocations: 23.84 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.7405, allocations: 215.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.7409, allocations: 307.5 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.7411, allocations: 23.03 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.7414, allocations: 167.6 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.7417, allocations: 136.3 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.7419, allocations: 12.91 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.742, allocations: 8 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.7422, allocations: 84.58 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.7424, allocations: 73.58 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.743, allocations: 322.4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.7431, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.036e-06/0.7431, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.7432, allocations: 1.781 kB / 1.464 GB, free: 281.1 MB / 0.8542 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.002341/0.7455, allocations: 0.6342 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/0.7456, allocations: 11.62 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/0.746, allocations: 37.33 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.7468, allocations: 271.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.747, allocations: 21.48 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.7472, allocations: 20.72 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/0.7481, allocations: 169.5 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.7482, allocations: 1.188 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.7483, allocations: 0 / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.7483, allocations: 4 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.7487, allocations: 65.31 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.7518, allocations: 0.5616 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.7525, allocations: 137.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.7528, allocations: 60.83 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.7529, allocations: 5.094 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.7541, allocations: 235.8 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-05/0.7542, allocations: 0 / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001496/0.7557, allocations: 285.2 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.7558, allocations: 63.98 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.7565, allocations: 313.2 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.7567, allocations: 33.7 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.7568, allocations: 105.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/0.757, allocations: 41.14 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.757, allocations: 8 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.7571, allocations: 322.8 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.7577, allocations: 104.7 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.7584, allocations: 167.7 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.759, allocations: 161.8 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.7591, allocations: 0.6875 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001715/0.7608, allocations: 448 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.761, allocations: 81.95 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.761, allocations: 0 / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.7611, allocations: 4 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.7615, allocations: 31.86 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.7615, allocations: 4 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.763, allocations: 70.98 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.7633, allocations: 59.92 kB / 1.469 GB, free: 276.4 MB / 0.8542 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.0004438/0.7638, allocations: 182.4 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.7639, allocations: 27.72 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.764, allocations: 30.36 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.7641, allocations: 0.5938 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7641, allocations: 0.5312 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.7645, allocations: 196.5 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.7647, allocations: 12.56 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.7652, allocations: 16.7 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.7653, allocations: 17.22 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001121/0.7665, allocations: 298.6 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001004/0.7675, allocations: 396.4 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000325/0.7679, allocations: 75.89 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004334/0.7683, allocations: 223 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of Backend: time 1.232e-06/0.7684, allocations: 1.406 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.7701, allocations: 398.9 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001954/0.7722, allocations: 0.9348 MB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01838/0.7906, allocations: 4.525 MB / 1.476 GB, free: 269.3 MB / 0.8542 GB