Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.6 kB / 17.04 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 195 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6956/0.6956, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3339, allocations: 76.15 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002338/0.3362, allocations: 1.47 MB / 0.559 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.3371, allocations: 434 kB / 0.5594 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.3372, allocations: 3.469 kB / 0.5594 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.443e-05/0.3373, allocations: 10.31 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.3374, allocations: 25.64 kB / 0.5595 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006337/0.338, allocations: 240.4 kB / 0.5597 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.3384, allocations: 335.3 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.3385, allocations: 10.58 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.3388, allocations: 192.2 kB / 0.5602 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.339, allocations: 119 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.3391, allocations: 19.06 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.873e-05/0.3391, allocations: 20.06 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.3392, allocations: 84.61 kB / 0.5604 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3394, allocations: 122.8 kB / 0.5605 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.3397, allocations: 291.7 kB / 0.5608 GB, free: 34.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3397, allocations: 1.5 kB / 0.5608 GB, free: 34.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3397, allocations: 2.656 kB / 0.5608 GB, free: 34.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3398, allocations: 0 / 0.5608 GB, free: 34.74 MB / 446.1 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.0009551/0.3407, allocations: 0.7361 MB / 0.5615 GB, free: 34.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3408, allocations: 9.469 kB / 0.5616 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.3408, allocations: 36.88 kB / 0.5616 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3411, allocations: 258.8 kB / 0.5618 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.3412, allocations: 14.52 kB / 0.5618 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.3413, allocations: 24.83 kB / 0.5619 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009049/0.3422, allocations: 201.2 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3422, allocations: 0.6562 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.3422, allocations: 7.844 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3422, allocations: 1.219 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000663/0.3429, allocations: 99.33 kB / 0.5622 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.3433, allocations: 312.1 kB / 0.5625 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.3442, allocations: 174.8 kB / 0.5626 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.3449, allocations: 104.6 kB / 0.5627 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3449, allocations: 4.891 kB / 0.5627 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008528/0.3458, allocations: 219.5 kB / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3458, allocations: 0 / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002186/0.348, allocations: 446.7 kB / 0.5634 GB, free: 33.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.348, allocations: 62.73 kB / 0.5634 GB, free: 33.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.3484, allocations: 292.9 kB / 0.5637 GB, free: 33.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.3484, allocations: 37.73 kB / 0.5637 GB, free: 32.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3485, allocations: 96.2 kB / 0.5638 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3485, allocations: 41.19 kB / 0.5639 GB, free: 32.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3487, allocations: 95.2 kB / 0.564 GB, free: 32.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.3487, allocations: 325.8 kB / 0.5643 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3489, allocations: 78.59 kB / 0.5644 GB, free: 32.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.3491, allocations: 139.5 kB / 0.5645 GB, free: 32.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.3494, allocations: 242.6 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3494, allocations: 3.938 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006033/0.35, allocations: 391 kB / 0.5651 GB, free: 32.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.3501, allocations: 73.88 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3501, allocations: 4.203 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3502, allocations: 1.562 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3503, allocations: 20.06 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3503, allocations: 10.09 kB / 0.5652 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.3508, allocations: 56.53 kB / 0.5653 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.3508, allocations: 43.75 kB / 0.5653 GB, free: 31.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.351, allocations: 173.7 kB / 0.5655 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3511, allocations: 24.2 kB / 0.5655 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.3511, allocations: 28.86 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3511, allocations: 2.781 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3512, allocations: 5.594 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3512, allocations: 1.359 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.3531, allocations: 0.6858 MB / 0.5662 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3531, allocations: 1.891 kB / 0.5662 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.3531, allocations: 8.188 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3531, allocations: 1.859 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.3532, allocations: 21.55 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3532, allocations: 1.938 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3532, allocations: 0 / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.3546, allocations: 448.2 kB / 0.5667 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.3548, allocations: 158.6 kB / 0.5668 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.3549, allocations: 13.23 kB / 0.5668 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.3553, allocations: 29.7 kB / 0.5668 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3554, allocations: 10.23 kB / 0.5669 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.3554, allocations: 45.58 kB / 0.5669 GB, free: 31.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.3556, allocations: 209.7 kB / 0.5671 GB, free: 30.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3556, allocations: 1.25 kB / 0.5671 GB, free: 30.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.3559, allocations: 47.36 kB / 0.5671 GB, free: 30.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.3561, allocations: 124.9 kB / 0.5673 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3571, allocations: 386.9 kB / 0.5676 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3571, allocations: 5.375 kB / 0.5676 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000641/0.3577, allocations: 111.8 kB / 0.5677 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3581, allocations: 28.94 kB / 0.5678 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3592, allocations: 436.3 kB / 0.5682 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.3594, allocations: 0.74 MB / 0.5689 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.3594, allocations: 21.47 kB / 0.5689 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.3595, allocations: 16.69 kB / 0.5689 GB, free: 29.64 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3595, allocations: 0 / 0.5689 GB, free: 29.64 MB / 446.1 MB Notification: Performance of Templates: time 0.006936/0.3664, allocations: 3.632 MB / 0.5725 GB, free: 29.31 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)