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 4.973/4.973, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 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.004031/0.00403, allocations: 354.3 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.343/4.343, allocations: 410.7 MB / 1.112 GB, free: 6.031 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.001792/0.001792, allocations: 176.1 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 16 kB / 1.348 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5847, 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.001402/0.5862, allocations: 1.187 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.587, allocations: 384 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.5871, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.5871, allocations: 7.922 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.5872, allocations: 15.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006416/0.5879, allocations: 206.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.5881, allocations: 244.3 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.5882, allocations: 10.28 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.5884, allocations: 163.6 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.5887, allocations: 129.1 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.5887, allocations: 12 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.057e-05/0.5888, allocations: 8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.5889, allocations: 84.64 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.589, allocations: 65.58 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.5892, allocations: 202.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.206e-06/0.5892, allocations: 1.5 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.88e-06/0.5892, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5893, allocations: 0 / 1.463 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.0009944/0.5903, allocations: 0.6237 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5903, allocations: 11.62 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.5904, allocations: 33.84 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.5907, allocations: 258.4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.5908, allocations: 12 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.5908, allocations: 15.98 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.5912, allocations: 146.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5912, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.5912, allocations: 4.516 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-06/0.5913, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.5914, allocations: 54.41 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.5918, allocations: 313.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.5921, allocations: 131.3 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5923, allocations: 53.91 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.5923, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.5928, allocations: 239.1 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.611e-06/0.5929, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0006783/0.5936, allocations: 269.4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.5936, allocations: 65 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.5939, allocations: 282.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.594, allocations: 41.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.594, allocations: 93.66 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.5941, allocations: 45.11 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.5941, allocations: 8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.5942, allocations: 326.8 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.5945, allocations: 88.17 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.5948, allocations: 161.4 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.5951, allocations: 153.2 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-06/0.5951, allocations: 4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008258/0.5959, allocations: 412 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.596, allocations: 74.8 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.823e-06/0.596, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5961, allocations: 4 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.5963, allocations: 31.91 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.5963, allocations: 4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.5969, allocations: 70.36 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.597, allocations: 51.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.0002149/0.5972, allocations: 182.6 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.5973, allocations: 28.5 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.5974, allocations: 26.25 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.194e-06/0.5974, allocations: 4.5 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-06/0.5974, allocations: 0.7812 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.878e-06/0.5974, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008736/0.5983, allocations: 0.5503 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5983, allocations: 3.938 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.5984, allocations: 12.48 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-06/0.5984, allocations: 1.812 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.5985, allocations: 15.98 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5985, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.019e-06/0.5985, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.599, allocations: 337.8 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.5991, allocations: 148.7 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.5992, allocations: 9.156 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.5995, allocations: 15.98 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.5996, allocations: 18.72 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.5997, allocations: 31.98 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001891/0.5999, allocations: 213.9 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.79e-07/0.5999, allocations: 0 / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004397/0.6003, allocations: 44 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.0001241/0.6005, allocations: 124.2 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006177/0.6011, allocations: 343.4 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.898e-06/0.6011, allocations: 5.375 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.6013, allocations: 71.91 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.0004322/0.6017, allocations: 24.81 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.0007481/0.6025, allocations: 441.7 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.6027, allocations: 0.7487 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.6029, allocations: 40.42 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.6031, allocations: 36.97 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.572e-06/0.6031, allocations: 2.781 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.008902/0.6121, allocations: 3.889 MB / 1.474 GB, free: 270.2 MB / 0.8542 GB