Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 253.2 MB / 260.6 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 185 kB / 319.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.5 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 100.8 kB / 0.6751 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.927e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.089, allocations: 133.6 MB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.089, allocations: 72.2 kB / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02226/1.112, allocations: 4.432 MB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/1.112, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.815e-05/1.112, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 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.001256/1.113, allocations: 0.578 MB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.113, allocations: 12.78 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/1.113, allocations: 31.72 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/1.114, allocations: 261.1 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/1.114, allocations: 11.36 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/1.114, allocations: 15.98 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001608/1.114, allocations: 36.5 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/1.114, allocations: 136.8 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.114, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/1.114, allocations: 3.938 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.114, allocations: 4 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/1.115, allocations: 309.4 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/1.115, allocations: 114.7 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/1.115, allocations: 50.72 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/1.115, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005743/1.116, allocations: 213.2 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/1.116, allocations: 3.938 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006483/1.117, allocations: 214.1 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/1.117, allocations: 55.41 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/1.117, allocations: 247.1 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/1.117, allocations: 37.69 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/1.117, allocations: 89.14 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/1.117, allocations: 45.81 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/1.117, allocations: 4 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.118, allocations: 318 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/1.118, allocations: 90.89 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/1.118, allocations: 135.2 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/1.118, allocations: 74.83 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.118, allocations: 3.953 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009707/1.119, allocations: 315 kB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.12, allocations: 74.45 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.12, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.12, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/1.12, allocations: 31.91 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/1.12, allocations: 3.938 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/1.121, allocations: 48.06 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.121, allocations: 51.92 kB / 1.027 GB, free: 12.51 MB / 0.6511 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 () * 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.0002142/1.121, allocations: 130.8 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/1.121, allocations: 31.58 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/1.121, allocations: 24.72 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.121, allocations: 4 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.121, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.121, allocations: 4 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/1.122, allocations: 0.5196 MB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.122, allocations: 0 / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/1.122, allocations: 11.94 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.122, allocations: 0 / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/1.123, allocations: 14.8 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/1.123, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.123, allocations: 3.938 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/1.123, allocations: 311.6 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/1.123, allocations: 157.7 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/1.124, allocations: 11.67 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/1.124, allocations: 4 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/1.124, allocations: 18.84 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/1.124, allocations: 27.98 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000271/1.124, allocations: 200.8 kB / 1.028 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.124, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006001/1.125, allocations: 52.38 kB / 1.028 GB, free: 11.08 MB / 0.6511 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) * 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.0002102/1.125, allocations: 120.2 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007586/1.126, allocations: 322.2 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.126, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/1.126, allocations: 67.98 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/1.127, allocations: 24.83 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/1.127, allocations: 276.3 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/1.128, allocations: 0.7503 MB / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002423/1.128, allocations: 37.2 kB / 1.03 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/1.128, allocations: 31.42 kB / 1.03 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/1.128, allocations: 11.88 kB / 1.03 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of Templates: time 0.01225/1.141, allocations: 4.131 MB / 1.034 GB, free: 5.391 MB / 0.6511 GB