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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6254/0.6254, allocations: 87.5 MB / 104.9 MB, free: 13.02 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.509/1.509, allocations: 222.9 MB / 349.1 MB, free: 2.77 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.001177/0.001177, allocations: 97.97 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 47.92 kB / 0.4891 GB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3152, allocations: 70.06 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00257/0.3178, allocations: 1.534 MB / 0.559 GB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.3187, allocations: 437.4 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.3188, allocations: 1.125 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.83e-05/0.3188, allocations: 3.938 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.753e-05/0.319, allocations: 19.95 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.3195, allocations: 226.2 kB / 0.5596 GB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3197, allocations: 291.9 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.3198, allocations: 7.984 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.32, allocations: 214.3 kB / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3202, allocations: 131.5 kB / 0.5603 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.3202, allocations: 8 kB / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.3203, allocations: 8 kB / 0.5603 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.3204, allocations: 75.78 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3205, allocations: 123.3 kB / 0.5605 GB, free: 42.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3207, allocations: 285.2 kB / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3208, allocations: 0 / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3208, allocations: 0 / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.3208, allocations: 0 / 0.5607 GB, free: 41.88 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.001055/0.3218, allocations: 0.6943 MB / 0.5614 GB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3219, allocations: 16.02 kB / 0.5614 GB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.322, allocations: 27.72 kB / 0.5615 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.3223, allocations: 266.2 kB / 0.5617 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.3223, allocations: 19.98 kB / 0.5617 GB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.3224, allocations: 16 kB / 0.5617 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.3227, allocations: 145.5 kB / 0.5619 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3227, allocations: 3.938 kB / 0.5619 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.3227, allocations: 3.984 kB / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3227, allocations: 4 kB / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3229, allocations: 47.97 kB / 0.5619 GB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.3232, allocations: 309.3 kB / 0.5622 GB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.3235, allocations: 126.7 kB / 0.5624 GB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3236, allocations: 62.08 kB / 0.5624 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3236, allocations: 4 kB / 0.5624 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/0.3241, allocations: 219.5 kB / 0.5626 GB, free: 39.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.3241, allocations: 0 / 0.5626 GB, free: 39.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005417/0.3247, allocations: 275.1 kB / 0.5629 GB, free: 39.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3247, allocations: 63.39 kB / 0.5629 GB, free: 39.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3249, allocations: 283 kB / 0.5632 GB, free: 39.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.325, allocations: 41.7 kB / 0.5633 GB, free: 39.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.325, allocations: 89.14 kB / 0.5633 GB, free: 38.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.3251, allocations: 51.42 kB / 0.5634 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3252, allocations: 97.72 kB / 0.5635 GB, free: 38.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.3253, allocations: 326.8 kB / 0.5638 GB, free: 38.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.3254, allocations: 104.1 kB / 0.5639 GB, free: 38.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3256, allocations: 150.4 kB / 0.564 GB, free: 38.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.3259, allocations: 243.8 kB / 0.5643 GB, free: 37.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3259, allocations: 0 / 0.5643 GB, free: 37.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005289/0.3264, allocations: 420.5 kB / 0.5647 GB, free: 37.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.3265, allocations: 71.39 kB / 0.5647 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3265, allocations: 4.188 kB / 0.5647 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3265, allocations: 11.88 kB / 0.5648 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3267, allocations: 31.91 kB / 0.5648 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3267, allocations: 4 kB / 0.5648 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.3272, allocations: 55.86 kB / 0.5648 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.3272, allocations: 47.98 kB / 0.5649 GB, free: 37.29 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.0001329/0.3274, allocations: 187.9 kB / 0.5651 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.3274, allocations: 27.62 kB / 0.5651 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.3275, allocations: 26.25 kB / 0.5651 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3275, allocations: 7.938 kB / 0.5651 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3275, allocations: 0 / 0.5651 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3275, allocations: 0 / 0.5651 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.3281, allocations: 0.5584 MB / 0.5657 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3281, allocations: 8 kB / 0.5657 GB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.3282, allocations: 7.984 kB / 0.5657 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3282, allocations: 0 / 0.5657 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-05/0.3283, allocations: 15.98 kB / 0.5657 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3283, allocations: 3.984 kB / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3283, allocations: 0 / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.3288, allocations: 0.9393 MB / 0.5666 GB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.329, allocations: 160.6 kB / 0.5668 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.329, allocations: 12 kB / 0.5668 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3292, allocations: 7.984 kB / 0.5668 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3293, allocations: 19.97 kB / 0.5668 GB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3293, allocations: 27.98 kB / 0.5668 GB, free: 35.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3295, allocations: 213.9 kB / 0.567 GB, free: 34.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3295, allocations: 0 / 0.567 GB, free: 34.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004106/0.3299, allocations: 48 kB / 0.5671 GB, free: 34.9 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 9.627e-05/0.33, allocations: 119.2 kB / 0.5672 GB, free: 34.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.3304, allocations: 342.6 kB / 0.5675 GB, free: 34.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3304, allocations: 0 / 0.5675 GB, free: 34.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3306, allocations: 73.94 kB / 0.5676 GB, free: 34.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3309, allocations: 23.69 kB / 0.5676 GB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.3315, allocations: 0.6021 MB / 0.5682 GB, free: 33.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3317, allocations: 0.7593 MB / 0.569 GB, free: 32.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.3318, allocations: 33.42 kB / 0.569 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3319, allocations: 39.42 kB / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3319, allocations: 0 / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of Templates: time 0.005964/0.3379, allocations: 4.13 MB / 0.5731 GB, free: 28.71 MB / 410.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)