Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.969/4.969, allocations: 0.5623 GB / 0.5776 GB, free: 3.336 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.002486/0.002486, allocations: 361.3 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.376/4.376, allocations: 410.7 MB / 1.113 GB, free: 5.969 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.001884/0.001884, allocations: 192.9 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005321, allocations: 16 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8023, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002509/0.8049, allocations: 1.195 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.8065, allocations: 384.1 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.8066, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.8067, allocations: 8.672 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.8068, allocations: 19.91 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.8077, allocations: 205.2 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.808, allocations: 244.5 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.808, allocations: 8.922 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.8084, allocations: 164.4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.8087, allocations: 128.2 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.535e-05/0.8087, allocations: 12.72 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.8088, allocations: 8 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.8089, allocations: 85.17 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.8091, allocations: 69.58 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.8093, allocations: 197.7 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8093, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8093, allocations: 1.281 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8094, allocations: 0 / 1.464 GB, free: 281.7 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.001309/0.8107, allocations: 0.6194 MB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.8107, allocations: 12.62 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.8109, allocations: 31.72 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.8112, allocations: 267.4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.8112, allocations: 12 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.8113, allocations: 19.98 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.8117, allocations: 142.8 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.8118, allocations: 1.219 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.8118, allocations: 4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8118, allocations: 6.125 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.812, allocations: 43.97 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.8125, allocations: 309.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.813, allocations: 128.1 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.8133, allocations: 58.97 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.8134, allocations: 9.562 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000779/0.8142, allocations: 226.9 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/0.8142, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001078/0.8153, allocations: 265.2 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.8153, allocations: 63.39 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.8158, allocations: 290.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.8159, allocations: 41.69 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.816, allocations: 89.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.8161, allocations: 40.23 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.8161, allocations: 8 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.8162, allocations: 326.2 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.8167, allocations: 100.1 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.8172, allocations: 154.1 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.8177, allocations: 146.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8177, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001336/0.819, allocations: 421.5 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/0.8191, allocations: 71.39 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8192, allocations: 4 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.8192, allocations: 4 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.8195, allocations: 24.94 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.8196, allocations: 7.938 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.8207, allocations: 73.7 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.8209, allocations: 51.98 kB / 1.468 GB, free: 277.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.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.000316/0.8212, allocations: 184.5 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.8213, allocations: 28.78 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.317e-05/0.8214, allocations: 26.25 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.8214, allocations: 0 / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8214, allocations: 0.7188 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.8217, allocations: 156.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8219, allocations: 13.95 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.8222, allocations: 8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.8224, allocations: 23.92 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008809/0.8232, allocations: 295.2 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007974/0.8241, allocations: 393 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002624/0.8243, allocations: 63.97 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003322/0.8247, allocations: 206.4 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of Backend: time 9.22e-07/0.8247, allocations: 4.875 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.8261, allocations: 370.7 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001311/0.8275, allocations: 0.8799 MB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01396/0.8415, allocations: 4.146 MB / 1.474 GB, free: 270.8 MB / 0.8542 GB