Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.536/2.536, allocations: 253.2 MB / 260.6 MB, free: 7.418 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.001458/0.001457, allocations: 171.9 kB / 319.9 MB, free: 3.051 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.325/2.325, allocations: 205.5 MB / 0.5708 GB, free: 15.25 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.001125/0.001125, allocations: 93.14 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.312e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1991, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.86/1.059, allocations: 133.9 MB / 1.019 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.06, allocations: 76.27 kB / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03203/1.092, allocations: 5.175 MB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.345e-06/1.092, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.185e-05/1.092, allocations: 4 kB / 1.025 GB, free: 14.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.002041/1.094, allocations: 0.615 MB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/1.094, allocations: 12.02 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/1.094, allocations: 35.67 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/1.095, allocations: 267.9 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/1.095, allocations: 4.844 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/1.095, allocations: 22.61 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002974/1.096, allocations: 62.67 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/1.096, allocations: 161.6 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.096, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/1.096, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.096, allocations: 3.938 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/1.099, allocations: 0.5536 MB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/1.1, allocations: 125.3 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/1.1, allocations: 61.89 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/1.1, allocations: 7.984 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008865/1.101, allocations: 222.2 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 4.809e-06/1.101, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001044/1.102, allocations: 219 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/1.102, allocations: 58.41 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/1.103, allocations: 269.5 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/1.103, allocations: 37.52 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/1.103, allocations: 100.4 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/1.103, allocations: 42.48 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/1.103, allocations: 4 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.104, allocations: 322.4 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/1.104, allocations: 112.1 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/1.105, allocations: 161.8 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/1.105, allocations: 83.77 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.105, allocations: 4 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001526/1.107, allocations: 341 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.107, allocations: 74.02 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.107, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.107, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/1.107, allocations: 31.34 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/1.107, allocations: 4 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009719/1.108, allocations: 48 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/1.109, allocations: 51.98 kB / 1.029 GB, free: 11.19 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003112/1.109, allocations: 135.6 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.109, allocations: 27.62 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/1.109, allocations: 31.83 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.109, allocations: 0 / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.109, allocations: 0 / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/1.109, allocations: 4 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.111, allocations: 0.5598 MB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.111, allocations: 0 / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.111, allocations: 8 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.111, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/1.111, allocations: 15.97 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.111, allocations: 0 / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.111, allocations: 0 / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/1.112, allocations: 322.1 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/1.113, allocations: 187.5 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.113, allocations: 13.94 kB / 1.03 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/1.113, allocations: 7.984 kB / 1.03 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.113, allocations: 31.19 kB / 1.03 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/1.113, allocations: 27.98 kB / 1.03 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004738/1.114, allocations: 216.8 kB / 1.03 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.51e-07/1.114, allocations: 0 / 1.03 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009432/1.115, allocations: 52 kB / 1.03 GB, free: 9.707 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0003385/1.115, allocations: 121.7 kB / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.117, allocations: 354.7 kB / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.117, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/1.117, allocations: 66.05 kB / 1.031 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/1.118, allocations: 35.89 kB / 1.031 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/1.119, allocations: 298 kB / 1.031 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/1.12, allocations: 0.766 MB / 1.032 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004291/1.12, allocations: 37.2 kB / 1.032 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/1.12, allocations: 35.42 kB / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/1.12, allocations: 0 / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of Templates: time 0.01895/1.139, allocations: 4.53 MB / 1.036 GB, free: 3.605 MB / 0.6511 GB