Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.234/2.234, allocations: 252.6 MB / 265.2 MB, free: 5.789 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.001516/0.001515, allocations: 175.9 kB / 324.5 MB, free: 14.41 MB / 266.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.4 MB / 0.5754 GB, free: 10.48 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.001097/0.001097, allocations: 90.58 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.168e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9354/1.134, allocations: 133.3 MB / 1.025 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.134, allocations: 68.84 kB / 1.025 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02224/1.157, allocations: 4.453 MB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.603e-06/1.157, allocations: 0 / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.887e-05/1.157, allocations: 4 kB / 1.029 GB, free: 13.37 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.001174/1.158, allocations: 0.5888 MB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.158, allocations: 16.02 kB / 1.03 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/1.158, allocations: 27.72 kB / 1.03 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/1.159, allocations: 255.7 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/1.159, allocations: 11.25 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/1.159, allocations: 12 kB / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/1.159, allocations: 145.2 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.159, allocations: 3.938 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/1.159, allocations: 3.5 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.159, allocations: 4 kB / 1.03 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/1.159, allocations: 49.55 kB / 1.031 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/1.16, allocations: 332.3 kB / 1.031 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/1.16, allocations: 122 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/1.161, allocations: 53.03 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/1.161, allocations: 8 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006189/1.161, allocations: 216.3 kB / 1.031 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/1.161, allocations: 3.938 kB / 1.031 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006707/1.162, allocations: 217.5 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/1.162, allocations: 71.27 kB / 1.031 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/1.162, allocations: 258.9 kB / 1.032 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/1.162, allocations: 33.39 kB / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/1.163, allocations: 88.83 kB / 1.032 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/1.163, allocations: 38.33 kB / 1.032 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/1.163, allocations: 7.812 kB / 1.032 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.163, allocations: 330 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/1.163, allocations: 99.7 kB / 1.032 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/1.164, allocations: 147.3 kB / 1.032 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/1.164, allocations: 152.6 kB / 1.033 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.164, allocations: 0 / 1.033 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001104/1.165, allocations: 415.1 kB / 1.033 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.199e-05/1.165, allocations: 79.97 kB / 1.033 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.165, allocations: 4 kB / 1.033 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.165, allocations: 0 / 1.033 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/1.166, allocations: 27.92 kB / 1.033 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.166, allocations: 8.125 kB / 1.033 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/1.166, allocations: 51.75 kB / 1.033 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.166, allocations: 55.28 kB / 1.033 GB, free: 9.684 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.0001905/1.167, allocations: 138.1 kB / 1.033 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/1.167, allocations: 27.62 kB / 1.033 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/1.167, allocations: 36.16 kB / 1.033 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.167, allocations: 0 / 1.033 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.167, allocations: 0 / 1.033 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.167, allocations: 7.984 kB / 1.033 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.168, allocations: 0.5479 MB / 1.034 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.168, allocations: 0 / 1.034 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/1.168, allocations: 8 kB / 1.034 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.168, allocations: 0 / 1.034 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/1.168, allocations: 19.34 kB / 1.034 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.168, allocations: 7.938 kB / 1.034 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.168, allocations: 3.938 kB / 1.034 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/1.169, allocations: 322 kB / 1.034 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/1.169, allocations: 153.5 kB / 1.034 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/1.169, allocations: 6.875 kB / 1.034 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/1.169, allocations: 11.11 kB / 1.034 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/1.169, allocations: 15.11 kB / 1.034 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/1.17, allocations: 35.97 kB / 1.034 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002747/1.17, allocations: 202.2 kB / 1.035 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.17, allocations: 0 / 1.035 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000476/1.17, allocations: 54.94 kB / 1.035 GB, free: 8.191 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.0001897/1.171, allocations: 109.1 kB / 1.035 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008053/1.171, allocations: 356.6 kB / 1.035 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.171, allocations: 4.062 kB / 1.035 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/1.172, allocations: 70.67 kB / 1.035 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/1.172, allocations: 22.42 kB / 1.035 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/1.173, allocations: 271 kB / 1.036 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/1.173, allocations: 0.7538 MB / 1.036 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002306/1.173, allocations: 41.14 kB / 1.036 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/1.174, allocations: 39.41 kB / 1.036 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.174, allocations: 0 / 1.036 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of Templates: time 0.01261/1.186, allocations: 4.307 MB / 1.041 GB, free: 2.305 MB / 0.6511 GB