Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.954/4.954, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 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.002529/0.002528, allocations: 360.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.455/4.455, 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.001824/0.001824, allocations: 184.6 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005195, allocations: 15.98 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.7335, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001797/0.7354, allocations: 1.189 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.7365, allocations: 377.6 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.7365, allocations: 4 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.7366, allocations: 8.641 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.7367, allocations: 19.91 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.7376, allocations: 211 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.7379, allocations: 243.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.088e-05/0.738, allocations: 4.984 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.7383, allocations: 163.6 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.7386, allocations: 128.6 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.707e-05/0.7387, allocations: 13 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.7388, allocations: 8 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.7389, allocations: 83.77 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.739, allocations: 67.95 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.7393, allocations: 201.6 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7393, allocations: 7.938 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7393, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7393, 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.001355/0.7407, allocations: 0.6171 MB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.7408, allocations: 11.62 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.7409, allocations: 31.72 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.7413, allocations: 258.4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.7413, allocations: 11.98 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.7414, allocations: 16.78 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.7419, allocations: 147.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7419, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.7419, allocations: 1.781 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.7419, allocations: 4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.7422, allocations: 43.97 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.7426, allocations: 313.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.743, allocations: 129.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.7432, allocations: 57.2 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.7432, allocations: 10.38 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.7439, allocations: 226 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.926e-06/0.7439, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0008446/0.7447, allocations: 269.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.7448, allocations: 60.56 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.7452, allocations: 286.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.7452, allocations: 41.69 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.7453, allocations: 99.48 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.7454, allocations: 35.55 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.7455, allocations: 8 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.7455, allocations: 326.8 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.7459, allocations: 92.17 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.7463, allocations: 152.2 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.7466, allocations: 154.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.7466, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00101/0.7476, allocations: 412.7 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.7477, allocations: 72.08 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7478, allocations: 4 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.7478, allocations: 5 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.7481, allocations: 31.91 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.7481, allocations: 0 / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/0.749, allocations: 78.19 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.7491, allocations: 47.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.0002708/0.7494, allocations: 192.7 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.7495, allocations: 28.89 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.7496, allocations: 27.09 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.7496, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7496, allocations: 0.9375 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.7499, allocations: 156.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.75, allocations: 11.98 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.7503, allocations: 13.89 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.7504, allocations: 19.94 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006783/0.7511, allocations: 290.5 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005949/0.7517, allocations: 396.7 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001938/0.7519, allocations: 63.97 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002393/0.7521, allocations: 205.9 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of Backend: time 8.12e-07/0.7522, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009991/0.7532, allocations: 375.1 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001049/0.7542, allocations: 0.8845 MB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01054/0.7648, allocations: 4.133 MB / 1.474 GB, free: 270.8 MB / 0.8542 GB