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.001688/0.001688, allocations: 103.5 kB / 16.52 MB, free: 6.656 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.002031/0.002031, allocations: 198.8 kB / 17.44 MB, free: 6.047 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6976/0.6976, allocations: 115.3 MB / 406.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.91 kB / 493.5 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3168, allocations: 76.18 MB / 0.5564 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002357/0.3192, allocations: 1.555 MB / 0.5579 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3204, allocations: 0.6018 MB / 0.5585 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.3204, allocations: 1.188 kB / 0.5585 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.364e-05/0.3205, allocations: 3.938 kB / 0.5585 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.832e-05/0.3207, allocations: 26.42 kB / 0.5585 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.3213, allocations: 283.3 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.3217, allocations: 458.8 kB / 0.5592 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.3217, allocations: 7.031 kB / 0.5592 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.3221, allocations: 299.3 kB / 0.5595 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3224, allocations: 157.9 kB / 0.5597 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.3225, allocations: 17.81 kB / 0.5597 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.3225, allocations: 13.75 kB / 0.5597 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3227, allocations: 117.2 kB / 0.5598 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3229, allocations: 184.1 kB / 0.56 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.3232, allocations: 314.2 kB / 0.5603 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3232, allocations: 0.8438 kB / 0.5603 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3232, allocations: 0 / 0.5603 GB, free: 34.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3232, allocations: 0.7812 kB / 0.5603 GB, free: 34.12 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.00106/0.3243, allocations: 0.8677 MB / 0.5611 GB, free: 33.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3243, allocations: 14.31 kB / 0.5611 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3245, allocations: 51.56 kB / 0.5612 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3247, allocations: 307.3 kB / 0.5615 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.3248, allocations: 16.84 kB / 0.5615 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.3249, allocations: 30.75 kB / 0.5615 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3259, allocations: 215.8 kB / 0.5617 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3259, allocations: 1.094 kB / 0.5617 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.326, allocations: 6.703 kB / 0.5617 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.326, allocations: 1.375 kB / 0.5617 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.3268, allocations: 101.8 kB / 0.5618 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3272, allocations: 392.9 kB / 0.5622 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3283, allocations: 177.6 kB / 0.5624 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.3291, allocations: 118.8 kB / 0.5625 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3291, allocations: 2.812 kB / 0.5625 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/0.3301, allocations: 225.1 kB / 0.5627 GB, free: 32.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/0.3301, allocations: 0 / 0.5627 GB, free: 32.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002651/0.3328, allocations: 486.5 kB / 0.5632 GB, free: 32.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3328, allocations: 62.58 kB / 0.5632 GB, free: 32.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.3333, allocations: 406.4 kB / 0.5636 GB, free: 32.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-05/0.3334, allocations: 41.31 kB / 0.5637 GB, free: 32.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3334, allocations: 99.5 kB / 0.5638 GB, free: 32.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3335, allocations: 46.36 kB / 0.5638 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.3337, allocations: 129.6 kB / 0.5639 GB, free: 32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.3338, allocations: 323.2 kB / 0.5642 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.334, allocations: 117.1 kB / 0.5643 GB, free: 31.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.3343, allocations: 175.1 kB / 0.5645 GB, free: 31.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.3346, allocations: 276.4 kB / 0.5648 GB, free: 31.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3347, allocations: 0 / 0.5648 GB, free: 31.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007795/0.3354, allocations: 0.4914 MB / 0.5653 GB, free: 31.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.3355, allocations: 92.61 kB / 0.5653 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3355, allocations: 2.906 kB / 0.5654 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3356, allocations: 5.719 kB / 0.5654 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.3357, allocations: 27.09 kB / 0.5654 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3357, allocations: 4.422 kB / 0.5654 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.3363, allocations: 63.03 kB / 0.5654 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.3364, allocations: 57.06 kB / 0.5655 GB, free: 31.04 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.0002508/0.3367, allocations: 198.6 kB / 0.5657 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.3367, allocations: 42.28 kB / 0.5657 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.3368, allocations: 37.67 kB / 0.5658 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3368, allocations: 1.25 kB / 0.5658 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3368, allocations: 2.094 kB / 0.5658 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3368, allocations: 1.312 kB / 0.5658 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.3389, allocations: 0.7472 MB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3389, allocations: 0.6094 kB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.339, allocations: 5.703 kB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.339, allocations: 1.125 kB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.339, allocations: 23.83 kB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3391, allocations: 0.7031 kB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3391, allocations: 1.375 kB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.3409, allocations: 477.9 kB / 0.567 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.3411, allocations: 196.2 kB / 0.5672 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.3412, allocations: 10.72 kB / 0.5672 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.3417, allocations: 34.91 kB / 0.5672 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3417, allocations: 7.344 kB / 0.5672 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/0.3418, allocations: 66.73 kB / 0.5673 GB, free: 30.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.3421, allocations: 297.7 kB / 0.5676 GB, free: 29.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3421, allocations: 3.938 kB / 0.5676 GB, free: 29.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000446/0.3426, allocations: 65.28 kB / 0.5676 GB, free: 29.96 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.0001181/0.3427, allocations: 114.2 kB / 0.5677 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.344, allocations: 440.8 kB / 0.5682 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.344, allocations: 0.875 kB / 0.5682 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008073/0.3448, allocations: 125.2 kB / 0.5683 GB, free: 29.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3452, allocations: 26.08 kB / 0.5683 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.3467, allocations: 0.7131 MB / 0.569 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3469, allocations: 0.7739 MB / 0.5698 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.347, allocations: 15.77 kB / 0.5698 GB, free: 28.46 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.347, allocations: 0.625 kB / 0.5698 GB, free: 28.46 MB / 446.1 MB Notification: Performance of Templates: time 0.006633/0.3536, allocations: 3.671 MB / 0.5734 GB, free: 27.99 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)