Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003678/0.003683, allocations: 354.5 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.271/1.271, allocations: 165.8 MB / 183.1 MB, free: 5.918 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.887/3.887, allocations: 410.7 MB / 0.6001 GB, free: 37.08 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001845/0.001844, allocations: 190.7 kB / 0.6668 GB, free: 1.812 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.0006481, allocations: 10.59 kB / 0.7428 GB, free: 73.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1213, allocations: 67.45 MB / 0.8087 GB, free: 17.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5763/0.6976, allocations: 100.1 MB / 0.9065 GB, free: 22.26 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.698, allocations: 77.06 kB / 0.9066 GB, free: 22.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02216/0.7202, allocations: 4.446 MB / 0.9109 GB, free: 21.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7202, allocations: 1.469 kB / 0.9109 GB, free: 21.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.7203, allocations: 3.188 kB / 0.9109 GB, free: 21.73 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.001246/0.7215, allocations: 0.623 MB / 0.9115 GB, free: 21.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7216, allocations: 9.281 kB / 0.9115 GB, free: 21.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.7218, allocations: 31.8 kB / 0.9116 GB, free: 21.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.7222, allocations: 246.8 kB / 0.9118 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.7222, allocations: 14.06 kB / 0.9118 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.7224, allocations: 19.45 kB / 0.9118 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.7228, allocations: 140.4 kB / 0.912 GB, free: 20.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7228, allocations: 7.938 kB / 0.912 GB, free: 20.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.7229, allocations: 5.156 kB / 0.912 GB, free: 20.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7229, allocations: 5.875 kB / 0.912 GB, free: 20.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.7231, allocations: 45.52 kB / 0.912 GB, free: 20.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.7236, allocations: 334.5 kB / 0.9123 GB, free: 20.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.7241, allocations: 124.4 kB / 0.9125 GB, free: 20.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.7243, allocations: 65.89 kB / 0.9125 GB, free: 20.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.7244, allocations: 6.75 kB / 0.9125 GB, free: 20.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/0.725, allocations: 209.3 kB / 0.9127 GB, free: 20.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.725, allocations: 4 kB / 0.9127 GB, free: 20.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009837/0.726, allocations: 273.9 kB / 0.913 GB, free: 20.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.7261, allocations: 57.81 kB / 0.913 GB, free: 20.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.7265, allocations: 290.5 kB / 0.9133 GB, free: 20.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.7267, allocations: 40.2 kB / 0.9134 GB, free: 20.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.7268, allocations: 91.2 kB / 0.9134 GB, free: 20.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.7269, allocations: 48 kB / 0.9135 GB, free: 20.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.7269, allocations: 6.562 kB / 0.9135 GB, free: 20.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7271, allocations: 321.9 kB / 0.9138 GB, free: 19.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.7275, allocations: 104.8 kB / 0.9139 GB, free: 19.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.728, allocations: 153.2 kB / 0.914 GB, free: 19.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.7284, allocations: 164.1 kB / 0.9142 GB, free: 19.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7285, allocations: 0 / 0.9142 GB, free: 19.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001277/0.7298, allocations: 421.7 kB / 0.9146 GB, free: 19.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007934/0.7306, allocations: 80.84 kB / 0.9147 GB, free: 35.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.7306, allocations: 1.062 kB / 0.9147 GB, free: 35.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.7306, allocations: 7.922 kB / 0.9147 GB, free: 35.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.7309, allocations: 27.88 kB / 0.9147 GB, free: 35.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.731, allocations: 6.281 kB / 0.9147 GB, free: 35.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.7317, allocations: 48.34 kB / 0.9148 GB, free: 35.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.7318, allocations: 54.09 kB / 0.9148 GB, free: 35.59 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.0003539/0.7322, allocations: 174.4 kB / 0.915 GB, free: 35.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.7323, allocations: 27.34 kB / 0.915 GB, free: 35.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.7324, allocations: 31.77 kB / 0.915 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7324, allocations: 2.625 kB / 0.915 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.7324, allocations: 5.547 kB / 0.9151 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.7324, allocations: 0.9688 kB / 0.9151 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.7336, allocations: 0.5529 MB / 0.9156 GB, free: 35.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7336, allocations: 1.688 kB / 0.9156 GB, free: 35.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.7337, allocations: 8.062 kB / 0.9156 GB, free: 35.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.7337, allocations: 9.25 kB / 0.9156 GB, free: 35.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.7338, allocations: 14.94 kB / 0.9156 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7338, allocations: 1.312 kB / 0.9156 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.7338, allocations: 0 / 0.9156 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/0.7345, allocations: 323.5 kB / 0.9159 GB, free: 34.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.7348, allocations: 155.7 kB / 0.9161 GB, free: 34.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.7349, allocations: 13.83 kB / 0.9161 GB, free: 34.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.7352, allocations: 12.48 kB / 0.9161 GB, free: 34.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.7353, allocations: 19.09 kB / 0.9161 GB, free: 34.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/0.7354, allocations: 33.86 kB / 0.9162 GB, free: 34.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003103/0.7357, allocations: 206.6 kB / 0.9164 GB, free: 34.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7357, allocations: 0 / 0.9164 GB, free: 34.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000579/0.7363, allocations: 49.31 kB / 0.9164 GB, free: 34.76 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.0001973/0.7365, allocations: 117.3 kB / 0.9165 GB, free: 34.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009762/0.7375, allocations: 356.4 kB / 0.9169 GB, free: 34.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7375, allocations: 4.062 kB / 0.9169 GB, free: 34.53 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.7378, allocations: 75.62 kB / 0.9169 GB, free: 34.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.7383, allocations: 20.92 kB / 0.917 GB, free: 34.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.7393, allocations: 442 kB / 0.9174 GB, free: 34.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.7397, allocations: 0.7458 MB / 0.9181 GB, free: 33.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.74, allocations: 38.42 kB / 0.9181 GB, free: 33.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.7402, allocations: 37.19 kB / 0.9182 GB, free: 33.54 MB / 474.7 MB Notification: Performance of SimCode: time 2.174e-06/0.7402, allocations: 0 / 0.9182 GB, free: 33.54 MB / 474.7 MB Notification: Performance of Templates: time 0.01298/0.7532, allocations: 4.321 MB / 0.9224 GB, free: 33.1 MB / 474.7 MB