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.854/4.854, allocations: 0.5623 GB / 0.5776 GB, free: 3.301 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.002489/0.002489, allocations: 361.2 kB / 0.6446 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.508/4.508, allocations: 410.8 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001829/0.001829, allocations: 172.2 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004828, allocations: 8 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2504, allocations: 115.3 MB / 1.461 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9347/1.185, allocations: 139.7 MB / 1.598 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.186, allocations: 76.77 kB / 1.598 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.02227/1.208, allocations: 4.461 MB / 1.602 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.313e-06/1.208, allocations: 0 / 1.602 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.403e-05/1.208, allocations: 4 kB / 1.602 GB, free: 14.16 MB / 0.6823 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.001329/1.209, allocations: 0.6177 MB / 1.603 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.209, allocations: 12.03 kB / 1.603 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/1.209, allocations: 31.66 kB / 1.603 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/1.21, allocations: 262.7 kB / 1.603 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/1.21, allocations: 8 kB / 1.603 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/1.21, allocations: 23.3 kB / 1.603 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/1.211, allocations: 139.8 kB / 1.603 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.211, allocations: 0 / 1.603 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/1.211, allocations: 7.25 kB / 1.603 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.211, allocations: 0 / 1.603 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/1.211, allocations: 45.97 kB / 1.603 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/1.211, allocations: 336.5 kB / 1.604 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/1.212, allocations: 128.8 kB / 1.604 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/1.212, allocations: 50.72 kB / 1.604 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/1.212, allocations: 7.984 kB / 1.604 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006393/1.213, allocations: 220.5 kB / 1.604 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/1.213, allocations: 0 / 1.604 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0009676/1.214, allocations: 268.1 kB / 1.604 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/1.214, allocations: 66.14 kB / 1.604 GB, free: 12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/1.214, allocations: 288.4 kB / 1.605 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/1.215, allocations: 39.64 kB / 1.605 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.215, allocations: 88.52 kB / 1.605 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/1.215, allocations: 49.14 kB / 1.605 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/1.215, allocations: 7.312 kB / 1.605 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.215, allocations: 326.2 kB / 1.605 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/1.215, allocations: 104 kB / 1.605 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/1.216, allocations: 157.9 kB / 1.605 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/1.216, allocations: 152.6 kB / 1.605 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.216, allocations: 0 / 1.605 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001329/1.218, allocations: 428.7 kB / 1.606 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.218, allocations: 77.69 kB / 1.606 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.218, allocations: 0 / 1.606 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.218, allocations: 4 kB / 1.606 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/1.218, allocations: 26.86 kB / 1.606 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.218, allocations: 4 kB / 1.606 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/1.219, allocations: 50.88 kB / 1.606 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.219, allocations: 54.86 kB / 1.606 GB, free: 10.36 MB / 0.6823 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.0003484/1.219, allocations: 178.1 kB / 1.606 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/1.219, allocations: 27.62 kB / 1.606 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/1.22, allocations: 29.38 kB / 1.606 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.22, allocations: 0 / 1.606 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.22, allocations: 0 / 1.606 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.22, allocations: 4 kB / 1.606 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.221, allocations: 0.5642 MB / 1.607 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.221, allocations: 0 / 1.607 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/1.221, allocations: 11.36 kB / 1.607 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.221, allocations: 0 / 1.607 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/1.221, allocations: 11.98 kB / 1.607 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.221, allocations: 0 / 1.607 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.221, allocations: 0 / 1.607 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/1.222, allocations: 334.7 kB / 1.607 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/1.222, allocations: 153.2 kB / 1.607 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/1.222, allocations: 15.55 kB / 1.607 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/1.222, allocations: 8 kB / 1.607 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/1.223, allocations: 19.84 kB / 1.607 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/1.223, allocations: 27.98 kB / 1.607 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003056/1.223, allocations: 207.8 kB / 1.608 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.223, allocations: 4 kB / 1.608 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005413/1.223, allocations: 56.11 kB / 1.608 GB, free: 8.824 MB / 0.6823 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.0002026/1.224, allocations: 122.6 kB / 1.608 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009736/1.225, allocations: 355.3 kB / 1.608 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.225, allocations: 0 / 1.608 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/1.225, allocations: 70.72 kB / 1.608 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/1.225, allocations: 28.77 kB / 1.608 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/1.226, allocations: 442.1 kB / 1.609 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/1.227, allocations: 0.7476 MB / 1.609 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000227/1.227, allocations: 37.08 kB / 1.609 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/1.227, allocations: 35.42 kB / 1.609 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/1.227, allocations: 0 / 1.609 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of Templates: time 0.01268/1.24, allocations: 4.315 MB / 1.614 GB, free: 2.77 MB / 0.6823 GB