Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002544/0.00255, allocations: 353.8 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.472/1.472, allocations: 165.8 MB / 183.1 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.728/3.728, allocations: 410.7 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 195.7 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 12 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4022, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.5924, allocations: 100.2 MB / 0.9066 GB, free: 8.457 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5928, allocations: 79.95 kB / 0.9066 GB, free: 8.379 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02302/0.6158, allocations: 4.449 MB / 0.911 GB, free: 3.934 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6159, allocations: 0 / 0.911 GB, free: 3.934 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.6159, allocations: 4 kB / 0.911 GB, free: 3.93 MB / 458.7 MB 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.001309/0.6172, allocations: 0.622 MB / 0.9116 GB, free: 3.234 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6173, allocations: 12.03 kB / 0.9116 GB, free: 3.223 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.6174, allocations: 27.72 kB / 0.9116 GB, free: 3.195 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.6179, allocations: 254.5 kB / 0.9119 GB, free: 2.906 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.6179, allocations: 19.97 kB / 0.9119 GB, free: 2.887 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.618, allocations: 16 kB / 0.9119 GB, free: 2.871 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.6185, allocations: 141.5 kB / 0.912 GB, free: 2.727 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.6185, allocations: 0 / 0.912 GB, free: 2.727 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.6185, allocations: 7.953 kB / 0.912 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6186, allocations: 0 / 0.912 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.6188, allocations: 53.28 kB / 0.9121 GB, free: 2.668 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.6194, allocations: 325.3 kB / 0.9124 GB, free: 2.301 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.6199, allocations: 130.8 kB / 0.9125 GB, free: 2.164 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.6201, allocations: 56.83 kB / 0.9126 GB, free: 2.105 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.6202, allocations: 7.984 kB / 0.9126 GB, free: 2.098 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006216/0.6208, allocations: 215.5 kB / 0.9128 GB, free: 1.875 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/0.6208, allocations: 3.938 kB / 0.9128 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009142/0.6217, allocations: 272.6 kB / 0.9131 GB, free: 1.602 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.6218, allocations: 71.33 kB / 0.9131 GB, free: 1.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.6222, allocations: 286.9 kB / 0.9134 GB, free: 1.234 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.6223, allocations: 37.7 kB / 0.9134 GB, free: 1.191 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.6224, allocations: 93.12 kB / 0.9135 GB, free: 1.098 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.139e-05/0.6225, allocations: 43.5 kB / 0.9136 GB, free: 1.055 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.6226, allocations: 8 kB / 0.9136 GB, free: 1.047 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6227, allocations: 322.8 kB / 0.9139 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.6232, allocations: 100.1 kB / 0.914 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.6237, allocations: 158.4 kB / 0.9141 GB, free: 456 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.6242, allocations: 153.4 kB / 0.9143 GB, free: 288 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6242, allocations: 0 / 0.9143 GB, free: 288 kB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001314/0.6255, allocations: 427.1 kB / 0.9147 GB, free: 15.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.6256, allocations: 75.38 kB / 0.9148 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6257, allocations: 0 / 0.9148 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.6257, allocations: 4 kB / 0.9148 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.626, allocations: 27.92 kB / 0.9148 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.626, allocations: 11.89 kB / 0.9148 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.6266, allocations: 48.06 kB / 0.9148 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.6268, allocations: 51.98 kB / 0.9149 GB, free: 15.62 MB / 474.7 MB 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.0002801/0.6271, allocations: 173 kB / 0.9151 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.6272, allocations: 27.62 kB / 0.9151 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.582e-05/0.6273, allocations: 34.25 kB / 0.9151 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.6273, allocations: 0 / 0.9151 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6273, allocations: 4 kB / 0.9151 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.6273, allocations: 7.938 kB / 0.9151 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6285, allocations: 0.549 MB / 0.9157 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6285, allocations: 3.984 kB / 0.9157 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.6286, allocations: 12 kB / 0.9157 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.6286, allocations: 0 / 0.9157 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.6286, allocations: 19.94 kB / 0.9157 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.6287, allocations: 0 / 0.9157 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6287, allocations: 3.938 kB / 0.9157 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.6294, allocations: 332.2 kB / 0.916 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.6296, allocations: 148.7 kB / 0.9162 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.6297, allocations: 8 kB / 0.9162 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.63, allocations: 19.94 kB / 0.9162 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.6301, allocations: 11.98 kB / 0.9162 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/0.6302, allocations: 27.98 kB / 0.9162 GB, free: 14.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003022/0.6305, allocations: 209.9 kB / 0.9164 GB, free: 13.94 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6305, allocations: 4 kB / 0.9164 GB, free: 13.94 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.631, allocations: 55.98 kB / 0.9165 GB, free: 13.88 MB / 474.7 MB 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.0002196/0.6312, allocations: 111.1 kB / 0.9166 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009665/0.6322, allocations: 361.5 kB / 0.9169 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6322, allocations: 0 / 0.9169 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.6325, allocations: 68.28 kB / 0.917 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.6329, allocations: 28.88 kB / 0.917 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.6339, allocations: 443.3 kB / 0.9174 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.6343, allocations: 0.7438 MB / 0.9182 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.6346, allocations: 41.02 kB / 0.9182 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.6348, allocations: 39.42 kB / 0.9183 GB, free: 11.99 MB / 474.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6348, allocations: 0 / 0.9183 GB, free: 11.99 MB / 474.7 MB Notification: Performance of Templates: time 0.01192/0.6467, allocations: 4.31 MB / 0.9225 GB, free: 7.688 MB / 474.7 MB