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 5.098/5.098, allocations: 0.5623 GB / 0.5769 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.002472/0.002471, allocations: 358 kB / 0.644 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.432/4.432, allocations: 410.7 MB / 1.112 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.001811/0.001811, allocations: 171 kB / 1.225 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004936, allocations: 12 kB / 1.348 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5858, 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.001395/0.5872, allocations: 1.191 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.5881, allocations: 383.9 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.5881, allocations: 0.9375 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.5882, allocations: 3.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.5883, allocations: 21.25 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.589, allocations: 214.4 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.5892, allocations: 235.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.5893, allocations: 7.438 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.5895, allocations: 167.6 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.5898, allocations: 131.7 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.5898, allocations: 8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.5899, allocations: 13.25 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.59, allocations: 75.78 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.5901, allocations: 69.58 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.5903, allocations: 203.9 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.28e-06/0.5903, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.996e-06/0.5903, allocations: 1.156 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.5904, allocations: 0 / 1.463 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.001037/0.5914, allocations: 0.6192 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.5915, allocations: 15.62 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.5916, allocations: 27.72 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.5919, allocations: 262.3 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.5919, allocations: 14.38 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.592, allocations: 23.98 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.5923, allocations: 137.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.87e-06/0.5923, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.5924, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-06/0.5924, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.5926, allocations: 50.69 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.5929, allocations: 306.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.5933, allocations: 129.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.5934, allocations: 56.83 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.5935, allocations: 4.375 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005327/0.594, allocations: 234.4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.705e-06/0.594, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000694/0.5947, allocations: 268.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.5948, allocations: 64.08 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.5951, allocations: 287.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.5951, allocations: 37.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.5952, allocations: 98.12 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.5953, allocations: 43.53 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.5953, allocations: 8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.5954, allocations: 331.3 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.5957, allocations: 92.86 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.596, allocations: 152.2 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.5963, allocations: 150.7 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.593e-06/0.5963, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008361/0.5972, allocations: 408.5 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.5973, allocations: 79.38 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.169e-06/0.5973, allocations: 0.5 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5973, allocations: 5.469 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.5975, allocations: 23.92 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5976, allocations: 7.984 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.5982, allocations: 71.27 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.5983, allocations: 55.98 kB / 1.467 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.0002178/0.5985, allocations: 175 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.5986, allocations: 32.92 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.5987, allocations: 30.25 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-06/0.5987, allocations: 1.656 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.823e-06/0.5987, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5987, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/0.5996, allocations: 0.5574 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-06/0.5997, allocations: 0.5938 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.5997, allocations: 7.984 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-06/0.5998, allocations: 4.844 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.5998, allocations: 11.98 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.704e-06/0.5998, allocations: 0.5 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-06/0.5998, allocations: 1.25 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.6003, allocations: 323.5 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.6005, allocations: 152.7 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.6006, allocations: 18.78 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.601, allocations: 7.984 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.6011, allocations: 16.95 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.6011, allocations: 35.91 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002116/0.6014, allocations: 207.2 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.86e-07/0.6014, allocations: 0 / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004682/0.6018, allocations: 47.98 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.602, allocations: 116.3 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000698/0.6027, allocations: 352.7 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.802e-06/0.6027, allocations: 0 / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.603, allocations: 79.88 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.6034, allocations: 30.34 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.6042, allocations: 446.5 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.6044, allocations: 0.7494 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002161/0.6047, allocations: 37.92 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.6049, allocations: 31.45 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.926e-06/0.6049, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.009111/0.614, allocations: 3.899 MB / 1.474 GB, free: 270.2 MB / 0.8542 GB