Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5217/0.5217, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 349.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 104 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 48.11 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3444, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.003126/0.3476, allocations: 1.534 MB / 0.559 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.3486, allocations: 441 kB / 0.5594 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3487, allocations: 6.25 kB / 0.5594 GB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.3488, allocations: 3.984 kB / 0.5594 GB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3489, allocations: 24.22 kB / 0.5594 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.3495, allocations: 226.7 kB / 0.5596 GB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.3497, allocations: 287.9 kB / 0.5599 GB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.3498, allocations: 4 kB / 0.5599 GB, free: 42.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.35, allocations: 218.3 kB / 0.5601 GB, free: 42.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3502, allocations: 111.6 kB / 0.5602 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.3502, allocations: 15.56 kB / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.3503, allocations: 8 kB / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3504, allocations: 75.77 kB / 0.5603 GB, free: 42.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.3506, allocations: 119.3 kB / 0.5604 GB, free: 42.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.3508, allocations: 289.2 kB / 0.5607 GB, free: 41.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3509, allocations: 0 / 0.5607 GB, free: 41.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3509, allocations: 0 / 0.5607 GB, free: 41.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3509, allocations: 0 / 0.5607 GB, free: 41.84 MB / 410.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.001014/0.3519, allocations: 0.7019 MB / 0.5614 GB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3519, allocations: 8.031 kB / 0.5614 GB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.352, allocations: 31.72 kB / 0.5614 GB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3523, allocations: 270.2 kB / 0.5617 GB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3523, allocations: 12 kB / 0.5617 GB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.3524, allocations: 19.98 kB / 0.5617 GB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3526, allocations: 145.5 kB / 0.5619 GB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3526, allocations: 3.938 kB / 0.5619 GB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3527, allocations: 4 kB / 0.5619 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3527, allocations: 4 kB / 0.5619 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3528, allocations: 51.89 kB / 0.5619 GB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.3531, allocations: 309.3 kB / 0.5622 GB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.3533, allocations: 126.7 kB / 0.5624 GB, free: 40 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3534, allocations: 52.84 kB / 0.5624 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3534, allocations: 8 kB / 0.5624 GB, free: 39.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.3538, allocations: 221.4 kB / 0.5626 GB, free: 39.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.3539, allocations: 4 kB / 0.5626 GB, free: 39.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004831/0.3543, allocations: 278.8 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.3544, allocations: 63.39 kB / 0.5629 GB, free: 39.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3546, allocations: 287 kB / 0.5632 GB, free: 39.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3546, allocations: 33.7 kB / 0.5633 GB, free: 39.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.3547, allocations: 93.12 kB / 0.5633 GB, free: 38.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.3547, allocations: 43.45 kB / 0.5634 GB, free: 38.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3548, allocations: 109.7 kB / 0.5635 GB, free: 38.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.3549, allocations: 326.8 kB / 0.5638 GB, free: 38.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3551, allocations: 104.1 kB / 0.5639 GB, free: 38.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.3553, allocations: 138.4 kB / 0.564 GB, free: 38.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.3555, allocations: 248.1 kB / 0.5643 GB, free: 37.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3555, allocations: 3.938 kB / 0.5643 GB, free: 37.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005353/0.3561, allocations: 416.5 kB / 0.5647 GB, free: 37.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.3561, allocations: 75.58 kB / 0.5647 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3561, allocations: 8 kB / 0.5648 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3562, allocations: 7.938 kB / 0.5648 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3563, allocations: 27.91 kB / 0.5648 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3563, allocations: 4 kB / 0.5648 GB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.3568, allocations: 55.86 kB / 0.5648 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.3569, allocations: 51.98 kB / 0.5649 GB, free: 37.25 MB / 410.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 (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,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.357, allocations: 175.9 kB / 0.5651 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.357, allocations: 27.62 kB / 0.5651 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.3571, allocations: 34.25 kB / 0.5651 GB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3571, allocations: 3.938 kB / 0.5651 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3571, allocations: 4 kB / 0.5651 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3571, allocations: 0 / 0.5651 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.3578, allocations: 0.5645 MB / 0.5657 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3578, allocations: 0 / 0.5657 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.3578, allocations: 8 kB / 0.5657 GB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3578, allocations: 0 / 0.5657 GB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.3579, allocations: 15.97 kB / 0.5657 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3579, allocations: 0 / 0.5657 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3579, allocations: 0 / 0.5657 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.3584, allocations: 0.9398 MB / 0.5666 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3586, allocations: 160.6 kB / 0.5668 GB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.3586, allocations: 11.98 kB / 0.5668 GB, free: 35.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3588, allocations: 15.98 kB / 0.5668 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.3589, allocations: 15.92 kB / 0.5668 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.3589, allocations: 31.98 kB / 0.5668 GB, free: 35.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.359, allocations: 213.9 kB / 0.567 GB, free: 34.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.359, allocations: 0 / 0.567 GB, free: 34.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.3594, allocations: 44 kB / 0.5671 GB, free: 34.86 MB / 410.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 (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.0001009/0.3595, allocations: 115.2 kB / 0.5672 GB, free: 34.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.36, allocations: 344.3 kB / 0.5675 GB, free: 34.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.36, allocations: 0 / 0.5675 GB, free: 34.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3601, allocations: 71.91 kB / 0.5676 GB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3604, allocations: 24.86 kB / 0.5676 GB, free: 34.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.3611, allocations: 0.606 MB / 0.5682 GB, free: 33.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3613, allocations: 0.7504 MB / 0.5689 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3614, allocations: 41.42 kB / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3615, allocations: 35.41 kB / 0.569 GB, free: 32.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3615, allocations: 3.938 kB / 0.569 GB, free: 32.78 MB / 410.7 MB Notification: Performance of Templates: time 0.006364/0.3679, allocations: 4.131 MB / 0.5731 GB, free: 28.67 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)