Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.106/5.106, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 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.002553/0.002553, allocations: 350.7 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.427/4.427, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001914/0.001914, allocations: 189.9 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006649, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7697, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001777/0.7715, allocations: 1.196 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.7726, allocations: 379.5 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.7727, allocations: 4 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.7728, allocations: 8.484 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.7729, allocations: 22.59 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.7738, allocations: 204.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.7742, allocations: 247.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.7742, allocations: 7.516 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.7746, allocations: 163.6 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.7749, allocations: 129.8 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.748e-05/0.775, allocations: 12 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.7751, allocations: 8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.7752, allocations: 83.77 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.7753, allocations: 69.58 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.7756, allocations: 197.7 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7756, allocations: 0.625 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7756, allocations: 0.5938 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.7756, allocations: 0 / 1.464 GB, free: 281.6 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001413/0.7771, allocations: 0.6246 MB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7771, allocations: 15.56 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.7773, allocations: 31.72 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.7776, allocations: 255.1 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.7777, allocations: 13.41 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.7778, allocations: 19.98 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.7782, allocations: 141.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.7783, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.7783, allocations: 6.344 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.7783, allocations: 4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.7786, allocations: 43.97 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.779, allocations: 309.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.7795, allocations: 133.1 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.7797, allocations: 57.2 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.7797, allocations: 4 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/0.7804, allocations: 222.4 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.887e-06/0.7804, allocations: 4.812 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000871/0.7813, allocations: 268.9 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.7813, allocations: 59.91 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.7817, allocations: 292.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.7818, allocations: 41.62 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.7819, allocations: 94.14 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.782, allocations: 35.55 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.782, allocations: 8 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.7821, allocations: 327.3 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.7824, allocations: 101.9 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.7828, allocations: 153.2 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.7832, allocations: 148.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7832, allocations: 0.7188 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00102/0.7842, allocations: 416.2 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.7844, allocations: 76.27 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7844, allocations: 4 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.7844, allocations: 4.844 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.7847, allocations: 23.97 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.7847, allocations: 4.719 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.7857, allocations: 78.28 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.7858, allocations: 51.98 kB / 1.468 GB, free: 277.3 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002639/0.7861, allocations: 176.9 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.7862, allocations: 32.78 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.7862, allocations: 27.5 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7863, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7863, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.7865, allocations: 157.6 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.7866, allocations: 11.98 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.7869, allocations: 8.969 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.787, allocations: 26.3 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006847/0.7877, allocations: 284.8 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006149/0.7884, allocations: 396.7 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002037/0.7886, allocations: 63.97 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000259/0.7889, allocations: 205.9 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of Backend: time 6.01e-07/0.7889, allocations: 2.844 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.7899, allocations: 374.5 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001088/0.7911, allocations: 0.8822 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01103/0.8021, allocations: 4.146 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB