Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 253.2 MB / 260.6 MB, free: 7.457 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.001398/0.001398, allocations: 175.3 kB / 319.9 MB, free: 3.039 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.04/2.04, allocations: 205.6 MB / 0.5708 GB, free: 15.16 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.00156/0.001559, allocations: 86.66 kB / 0.6751 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.642e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9064/1.157, allocations: 133.6 MB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.157, allocations: 73.89 kB / 1.019 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02321/1.18, allocations: 4.433 MB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.894e-06/1.18, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.586e-05/1.18, allocations: 8 kB / 1.024 GB, free: 15.87 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.001151/1.182, allocations: 0.5769 MB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.182, allocations: 12.03 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/1.182, allocations: 27.72 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/1.182, allocations: 259.8 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/1.182, allocations: 7.984 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/1.182, allocations: 12 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/1.183, allocations: 45.36 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/1.183, allocations: 133.2 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.183, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/1.183, allocations: 3.984 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.183, allocations: 4 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/1.183, allocations: 308.2 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/1.184, allocations: 129.5 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/1.184, allocations: 50.16 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/1.184, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000547/1.185, allocations: 209.3 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.425e-06/1.185, allocations: 3.938 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006167/1.185, allocations: 210.7 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/1.185, allocations: 59.34 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/1.186, allocations: 248.1 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.186, allocations: 33.52 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/1.186, allocations: 88.7 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/1.186, allocations: 38.64 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/1.186, allocations: 11.98 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.186, allocations: 325.3 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/1.186, allocations: 80.09 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/1.187, allocations: 133 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/1.187, allocations: 88.5 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/1.187, allocations: 3.953 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009082/1.188, allocations: 310.2 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/1.188, allocations: 74.88 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.188, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.188, allocations: 8.188 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/1.188, allocations: 23.92 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.188, allocations: 11.92 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/1.189, allocations: 35.89 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/1.189, allocations: 55.66 kB / 1.027 GB, free: 12.47 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.0002133/1.189, allocations: 130.8 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/1.19, allocations: 31.58 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/1.19, allocations: 29.53 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.19, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.19, allocations: 3.984 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.19, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.191, allocations: 0.5127 MB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.191, allocations: 7.938 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/1.191, allocations: 15.55 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.191, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/1.191, allocations: 11.98 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/1.191, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.191, allocations: 3.938 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/1.192, allocations: 306.7 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/1.192, allocations: 155.2 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/1.192, allocations: 7.438 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/1.192, allocations: 15.98 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/1.192, allocations: 19.28 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/1.192, allocations: 27.98 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000277/1.193, allocations: 190 kB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.234e-06/1.193, allocations: 0 / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005736/1.193, allocations: 59.98 kB / 1.028 GB, free: 11.04 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.0002012/1.194, allocations: 116.5 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007882/1.194, allocations: 332.3 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.194, allocations: 7.938 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/1.195, allocations: 62.52 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/1.195, allocations: 25.64 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/1.196, allocations: 274.7 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/1.196, allocations: 0.7432 MB / 1.03 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000249/1.196, allocations: 41.19 kB / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/1.197, allocations: 38.67 kB / 1.03 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of SimCode: time 8.41e-07/1.197, allocations: 7.938 kB / 1.03 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of Templates: time 0.01226/1.209, allocations: 4.131 MB / 1.034 GB, free: 5.348 MB / 0.6511 GB