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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 104 kB / 16.94 MB, free: 5.801 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.001238/0.001238, allocations: 191.6 kB / 17.87 MB, free: 5.18 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.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7888/0.7888, allocations: 125.3 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 0.4948 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 78.56 MB / 0.5715 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002754/0.3275, allocations: 1.497 MB / 0.573 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3286, allocations: 0.5425 MB / 0.5735 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.3287, allocations: 0 / 0.5735 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.3288, allocations: 12.88 kB / 0.5735 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.329, allocations: 21.38 kB / 0.5735 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009421/0.3299, allocations: 319.4 kB / 0.5738 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.3304, allocations: 0.4996 MB / 0.5743 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.3305, allocations: 10.3 kB / 0.5743 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.3309, allocations: 270.3 kB / 0.5746 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3312, allocations: 135.5 kB / 0.5747 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.732e-05/0.3313, allocations: 26.44 kB / 0.5748 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.3314, allocations: 27.94 kB / 0.5748 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3315, allocations: 115.9 kB / 0.5749 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.3317, allocations: 190.4 kB / 0.5751 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.3322, allocations: 424.1 kB / 0.5755 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3322, allocations: 2.5 kB / 0.5755 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3322, allocations: 0 / 0.5755 GB, free: 29.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3322, allocations: 0.5156 kB / 0.5755 GB, free: 29.09 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.001072/0.3333, allocations: 0.8726 MB / 0.5763 GB, free: 28.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3334, allocations: 9.469 kB / 0.5763 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3335, allocations: 52.78 kB / 0.5764 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3338, allocations: 301.8 kB / 0.5767 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.3339, allocations: 17.61 kB / 0.5767 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.334, allocations: 31.17 kB / 0.5767 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.335, allocations: 208.2 kB / 0.5769 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.335, allocations: 5.625 kB / 0.5769 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.3351, allocations: 5.156 kB / 0.5769 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3351, allocations: 2.406 kB / 0.5769 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.3359, allocations: 98.36 kB / 0.577 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3363, allocations: 400.8 kB / 0.5774 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3375, allocations: 176.9 kB / 0.5776 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/0.3383, allocations: 116.7 kB / 0.5777 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3384, allocations: 3.547 kB / 0.5777 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.3393, allocations: 220.5 kB / 0.5779 GB, free: 27.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.3393, allocations: 3.984 kB / 0.5779 GB, free: 27.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002977/0.3422, allocations: 486.8 kB / 0.5784 GB, free: 27.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3423, allocations: 65.36 kB / 0.5784 GB, free: 27.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.3427, allocations: 410.3 kB / 0.5788 GB, free: 27.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.3427, allocations: 41.25 kB / 0.5789 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.3428, allocations: 93.3 kB / 0.579 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3428, allocations: 41.34 kB / 0.579 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.343, allocations: 133.6 kB / 0.5791 GB, free: 26.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.3431, allocations: 317.6 kB / 0.5794 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3433, allocations: 118.9 kB / 0.5795 GB, free: 26.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.3436, allocations: 179.5 kB / 0.5797 GB, free: 26.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.3439, allocations: 279.6 kB / 0.58 GB, free: 26.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3439, allocations: 0 / 0.58 GB, free: 26.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009107/0.3448, allocations: 498.1 kB / 0.5805 GB, free: 25.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.3449, allocations: 89.12 kB / 0.5805 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3449, allocations: 5.203 kB / 0.5805 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3449, allocations: 8.125 kB / 0.5805 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3451, allocations: 25.89 kB / 0.5806 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3451, allocations: 2.625 kB / 0.5806 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.3457, allocations: 66.25 kB / 0.5806 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.701e-05/0.3457, allocations: 56.27 kB / 0.5807 GB, free: 25.74 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.0001939/0.3459, allocations: 196.4 kB / 0.5809 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.346, allocations: 39.66 kB / 0.5809 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.3461, allocations: 40.52 kB / 0.581 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3461, allocations: 4.562 kB / 0.581 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3461, allocations: 0 / 0.581 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3461, allocations: 0 / 0.581 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.3481, allocations: 0.7431 MB / 0.5817 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3482, allocations: 5.266 kB / 0.5817 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3482, allocations: 8.375 kB / 0.5817 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3482, allocations: 0.6875 kB / 0.5817 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.3482, allocations: 23.84 kB / 0.5817 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3482, allocations: 3.531 kB / 0.5817 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3483, allocations: 0 / 0.5817 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.3499, allocations: 472.9 kB / 0.5822 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.3501, allocations: 199 kB / 0.5824 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.3502, allocations: 17.31 kB / 0.5824 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.3507, allocations: 29.09 kB / 0.5824 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.3507, allocations: 8.828 kB / 0.5824 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.3508, allocations: 61.28 kB / 0.5825 GB, free: 24.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.351, allocations: 294 kB / 0.5828 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.351, allocations: 2 kB / 0.5828 GB, free: 24.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.3514, allocations: 66.52 kB / 0.5828 GB, free: 24.36 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.0001197/0.3515, allocations: 118.9 kB / 0.5829 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.3528, allocations: 454.8 kB / 0.5834 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3528, allocations: 0 / 0.5834 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007806/0.3536, allocations: 119.4 kB / 0.5835 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3539, allocations: 33.25 kB / 0.5835 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3553, allocations: 0.5901 MB / 0.5841 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.3555, allocations: 0.7665 MB / 0.5848 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.3556, allocations: 19.5 kB / 0.5849 GB, free: 22.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3556, allocations: 3.938 kB / 0.5849 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Templates: time 0.005235/0.3608, allocations: 3.679 MB / 0.5885 GB, free: 20.83 MB / 446.1 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)