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.001165/0.001165, allocations: 113.1 kB / 17.04 MB, free: 5.812 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.001173/0.001173, allocations: 195 kB / 17.98 MB, free: 5.027 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.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7249/0.7249, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 56.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3422, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.0024/0.3446, allocations: 1.475 MB / 0.559 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008833/0.3455, allocations: 430 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.3456, allocations: 0 / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.3457, allocations: 10.84 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3458, allocations: 28.95 kB / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.3465, allocations: 247.6 kB / 0.5597 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.347, allocations: 328.3 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.347, allocations: 11.06 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.3473, allocations: 196.8 kB / 0.5602 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.3476, allocations: 117.5 kB / 0.5603 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.3476, allocations: 19.16 kB / 0.5603 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.3477, allocations: 21.69 kB / 0.5603 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3478, allocations: 83.14 kB / 0.5604 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.348, allocations: 123.9 kB / 0.5605 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.3483, allocations: 291.3 kB / 0.5608 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3483, allocations: 1.312 kB / 0.5608 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3483, allocations: 0.75 kB / 0.5608 GB, free: 34.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.3484, allocations: 0 / 0.5608 GB, free: 34.71 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.001065/0.3494, allocations: 0.7395 MB / 0.5615 GB, free: 34.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3495, allocations: 8.562 kB / 0.5616 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.3496, allocations: 35.84 kB / 0.5616 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3499, allocations: 270.8 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.3499, allocations: 10.39 kB / 0.5619 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.35, allocations: 24.67 kB / 0.5619 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.3509, allocations: 203.2 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3509, allocations: 1.531 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.3509, allocations: 2.234 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3509, allocations: 1.953 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006846/0.3516, allocations: 102.4 kB / 0.5622 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.352, allocations: 306.1 kB / 0.5625 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/0.353, allocations: 174 kB / 0.5626 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.3537, allocations: 110.8 kB / 0.5627 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3538, allocations: 3.688 kB / 0.5627 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.355, allocations: 211.1 kB / 0.5629 GB, free: 33.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.355, allocations: 3.938 kB / 0.5629 GB, free: 33.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002369/0.3574, allocations: 445.5 kB / 0.5634 GB, free: 33.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3574, allocations: 62.69 kB / 0.5634 GB, free: 33.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.3577, allocations: 293 kB / 0.5637 GB, free: 32.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.3578, allocations: 36.41 kB / 0.5637 GB, free: 32.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.3578, allocations: 97.23 kB / 0.5638 GB, free: 32.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.3579, allocations: 44.52 kB / 0.5639 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.3581, allocations: 95.14 kB / 0.564 GB, free: 32.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.3581, allocations: 321 kB / 0.5643 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3583, allocations: 79.17 kB / 0.5644 GB, free: 32.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3585, allocations: 138.9 kB / 0.5645 GB, free: 32.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.3588, allocations: 240.2 kB / 0.5647 GB, free: 32.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3588, allocations: 5.125 kB / 0.5647 GB, free: 32.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006165/0.3594, allocations: 393.9 kB / 0.5651 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.3595, allocations: 72.86 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3595, allocations: 1.281 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3595, allocations: 4.375 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3597, allocations: 24.03 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3597, allocations: 11.16 kB / 0.5652 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.3602, allocations: 52.52 kB / 0.5653 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.3603, allocations: 44.61 kB / 0.5653 GB, free: 31.89 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.0001579/0.3604, allocations: 167.6 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3605, allocations: 24.33 kB / 0.5655 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.3605, allocations: 29.94 kB / 0.5655 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3605, allocations: 8.922 kB / 0.5655 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3606, allocations: 6.141 kB / 0.5655 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3606, allocations: 1.234 kB / 0.5655 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.3625, allocations: 0.6897 MB / 0.5662 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3626, allocations: 0 / 0.5662 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.3626, allocations: 8.547 kB / 0.5662 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3626, allocations: 1.125 kB / 0.5662 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.3627, allocations: 20.86 kB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3627, allocations: 1.703 kB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3627, allocations: 0 / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.3642, allocations: 448.3 kB / 0.5667 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.3644, allocations: 159.2 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.3645, allocations: 9.703 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.3649, allocations: 30.31 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.365, allocations: 12.48 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.365, allocations: 45.53 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.3652, allocations: 209.9 kB / 0.5671 GB, free: 30.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3652, allocations: 0 / 0.5671 GB, free: 30.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.3656, allocations: 48.19 kB / 0.5671 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.0001302/0.3657, allocations: 122.3 kB / 0.5673 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3668, allocations: 381.9 kB / 0.5676 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3668, allocations: 3.938 kB / 0.5676 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.3675, allocations: 115.3 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.0003564/0.3678, allocations: 32.38 kB / 0.5678 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.3691, allocations: 430.5 kB / 0.5682 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.3693, allocations: 0.7406 MB / 0.5689 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.678e-05/0.3694, allocations: 14.05 kB / 0.5689 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3694, allocations: 16.52 kB / 0.5689 GB, free: 29.61 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3694, allocations: 0 / 0.5689 GB, free: 29.61 MB / 446.1 MB Notification: Performance of Templates: time 0.008953/0.3784, allocations: 3.634 MB / 0.5725 GB, free: 29.29 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)