Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 107.4 kB / 17.02 MB, free: 5.66 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.002139/0.002138, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.734/0.734, allocations: 115.1 MB / 406.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.357, allocations: 76.14 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002467/0.3595, allocations: 1.469 MB / 0.559 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.3603, allocations: 444.1 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.3604, allocations: 0 / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.3605, allocations: 7.203 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3606, allocations: 19.39 kB / 0.5594 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.3613, allocations: 252.2 kB / 0.5597 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.3616, allocations: 324.8 kB / 0.56 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.3617, allocations: 7.125 kB / 0.56 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.362, allocations: 197.3 kB / 0.5602 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3622, allocations: 117.7 kB / 0.5603 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.3623, allocations: 20.03 kB / 0.5603 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.3623, allocations: 19.81 kB / 0.5603 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3624, allocations: 80.19 kB / 0.5604 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3626, allocations: 122.7 kB / 0.5605 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.363, allocations: 296.4 kB / 0.5608 GB, free: 34.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.363, allocations: 1.906 kB / 0.5608 GB, free: 34.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.363, allocations: 1.609 kB / 0.5608 GB, free: 34.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.363, allocations: 0 / 0.5608 GB, free: 34.72 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.0009873/0.364, allocations: 0.7402 MB / 0.5615 GB, free: 34.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.364, allocations: 11.33 kB / 0.5615 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.3641, allocations: 36.47 kB / 0.5616 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.3644, allocations: 262.1 kB / 0.5618 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.3645, allocations: 13.81 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.3646, allocations: 21.66 kB / 0.5619 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.3655, allocations: 206.1 kB / 0.5621 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3655, allocations: 0.9688 kB / 0.5621 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3655, allocations: 5.75 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3655, allocations: 2.078 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.3662, allocations: 99.05 kB / 0.5622 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.3666, allocations: 307.4 kB / 0.5625 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.3675, allocations: 181.8 kB / 0.5626 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.3681, allocations: 106.3 kB / 0.5627 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3682, allocations: 2.906 kB / 0.5627 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008614/0.369, allocations: 211 kB / 0.5629 GB, free: 33.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3691, allocations: 0 / 0.5629 GB, free: 33.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002312/0.3714, allocations: 446.8 kB / 0.5634 GB, free: 33.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3714, allocations: 71.47 kB / 0.5634 GB, free: 33.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.3717, allocations: 289.9 kB / 0.5637 GB, free: 32.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.3718, allocations: 35.91 kB / 0.5637 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3718, allocations: 96.86 kB / 0.5638 GB, free: 32.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3719, allocations: 38.41 kB / 0.5639 GB, free: 32.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.3721, allocations: 93.91 kB / 0.564 GB, free: 32.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.3721, allocations: 322.3 kB / 0.5643 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3723, allocations: 82.88 kB / 0.5643 GB, free: 32.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.3726, allocations: 134.4 kB / 0.5645 GB, free: 32.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3729, allocations: 243.2 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3729, allocations: 4.625 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000657/0.3736, allocations: 393.5 kB / 0.5651 GB, free: 31.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.3736, allocations: 73.92 kB / 0.5652 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.3737, allocations: 2 kB / 0.5652 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.3737, allocations: 4.109 kB / 0.5652 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3739, allocations: 27.27 kB / 0.5652 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3739, allocations: 5.516 kB / 0.5652 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.3744, allocations: 57.16 kB / 0.5653 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.3744, allocations: 38.78 kB / 0.5653 GB, free: 31.91 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.0001723/0.3746, allocations: 171.8 kB / 0.5655 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.3747, allocations: 23.34 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.3747, allocations: 29.98 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3748, allocations: 2 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3748, allocations: 1.281 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3748, allocations: 5.297 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.3768, allocations: 0.6947 MB / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3768, allocations: 5.25 kB / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.3769, allocations: 5.172 kB / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3769, allocations: 1.719 kB / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.3769, allocations: 16.36 kB / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3769, allocations: 0 / 0.5662 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.377, allocations: 5.969 kB / 0.5662 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.3785, allocations: 452.4 kB / 0.5667 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.3788, allocations: 162.6 kB / 0.5668 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.3789, allocations: 10.14 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.3793, allocations: 32.45 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3794, allocations: 9.297 kB / 0.5669 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.3794, allocations: 45.47 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.3796, allocations: 209.2 kB / 0.5671 GB, free: 30.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3797, allocations: 0.7812 kB / 0.5671 GB, free: 30.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.3801, allocations: 51.69 kB / 0.5672 GB, free: 30.89 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.0001296/0.3802, allocations: 117.7 kB / 0.5673 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3813, allocations: 383.7 kB / 0.5676 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3814, allocations: 0 / 0.5676 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.3821, allocations: 120.1 kB / 0.5677 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3825, allocations: 34.2 kB / 0.5678 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3838, allocations: 430.3 kB / 0.5682 GB, free: 30.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.384, allocations: 0.74 MB / 0.5689 GB, free: 29.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.256e-05/0.3841, allocations: 13.89 kB / 0.5689 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.3841, allocations: 17.67 kB / 0.5689 GB, free: 29.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3841, allocations: 0 / 0.5689 GB, free: 29.62 MB / 446.1 MB Notification: Performance of Templates: time 0.008779/0.3929, allocations: 3.629 MB / 0.5725 GB, free: 29.29 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)