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.00123/0.00123, allocations: 108.4 kB / 17.03 MB, free: 5.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.001222/0.001222, allocations: 190.9 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.283/1.283, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6761/0.6761, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 76.14 MB / 0.5575 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.00225/0.3581, allocations: 1.475 MB / 0.559 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.3589, allocations: 435.5 kB / 0.5594 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.3589, allocations: 0 / 0.5594 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.8e-05/0.359, allocations: 3.938 kB / 0.5594 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.3591, allocations: 31.05 kB / 0.5594 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.3597, allocations: 249.9 kB / 0.5597 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.36, allocations: 323.9 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.3601, allocations: 10.22 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.3604, allocations: 197.1 kB / 0.5602 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3606, allocations: 121.5 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.3606, allocations: 18.22 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.774e-05/0.3607, allocations: 20.88 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3608, allocations: 84.5 kB / 0.5604 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3609, allocations: 122.2 kB / 0.5605 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.3612, allocations: 296.2 kB / 0.5608 GB, free: 34.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3613, allocations: 2.438 kB / 0.5608 GB, free: 34.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3613, allocations: 0 / 0.5608 GB, free: 34.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3613, allocations: 0 / 0.5608 GB, free: 34.74 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.0009792/0.3623, allocations: 0.7346 MB / 0.5615 GB, free: 34.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3623, allocations: 10.34 kB / 0.5615 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.3624, allocations: 35.52 kB / 0.5616 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3627, allocations: 262.2 kB / 0.5618 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.3628, allocations: 15.16 kB / 0.5618 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.3628, allocations: 24.23 kB / 0.5619 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.3637, allocations: 205.7 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3638, allocations: 2.719 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.3638, allocations: 3.156 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3638, allocations: 2.25 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.3645, allocations: 100.5 kB / 0.5622 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.3648, allocations: 305.8 kB / 0.5625 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.3657, allocations: 177 kB / 0.5626 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.3663, allocations: 106.9 kB / 0.5627 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3664, allocations: 3.422 kB / 0.5627 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007948/0.3672, allocations: 215.6 kB / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3672, allocations: 0 / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002242/0.3694, allocations: 451 kB / 0.5634 GB, free: 33.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3695, allocations: 63 kB / 0.5634 GB, free: 33.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.3698, allocations: 289.1 kB / 0.5637 GB, free: 33.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.3698, allocations: 36.7 kB / 0.5637 GB, free: 32.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.3699, allocations: 96.44 kB / 0.5638 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3699, allocations: 37.02 kB / 0.5639 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.3701, allocations: 101.5 kB / 0.564 GB, free: 32.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.3702, allocations: 324.8 kB / 0.5643 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3703, allocations: 79.11 kB / 0.5643 GB, free: 32.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.3706, allocations: 132.5 kB / 0.5645 GB, free: 32.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3708, allocations: 247.8 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3709, allocations: 4.938 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006288/0.3715, allocations: 392.2 kB / 0.5651 GB, free: 32.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.3716, allocations: 73.23 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3716, allocations: 2.219 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3716, allocations: 3.688 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.3718, allocations: 24.89 kB / 0.5652 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3718, allocations: 2.844 kB / 0.5652 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.3722, allocations: 56.67 kB / 0.5652 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.3723, allocations: 44.41 kB / 0.5653 GB, free: 31.93 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.0001465/0.3725, allocations: 171.4 kB / 0.5654 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.3725, allocations: 27.16 kB / 0.5655 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.3726, allocations: 28.2 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3726, allocations: 2.125 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3726, allocations: 0.7188 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3726, allocations: 1.828 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3744, allocations: 0.6901 MB / 0.5662 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3744, allocations: 2.047 kB / 0.5662 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.3745, allocations: 8.141 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3745, allocations: 2.781 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.3745, allocations: 19.22 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3745, allocations: 1.734 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3746, allocations: 6.047 kB / 0.5662 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.376, allocations: 454.9 kB / 0.5667 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.3762, allocations: 158.3 kB / 0.5668 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.3763, allocations: 11.02 kB / 0.5668 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3767, allocations: 30.28 kB / 0.5668 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.3767, allocations: 11.14 kB / 0.5669 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.3768, allocations: 44.55 kB / 0.5669 GB, free: 31.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.377, allocations: 210.4 kB / 0.5671 GB, free: 30.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.377, allocations: 0.9062 kB / 0.5671 GB, free: 30.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.3773, allocations: 47.23 kB / 0.5671 GB, free: 30.91 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.0001125/0.3774, allocations: 119 kB / 0.5673 GB, free: 30.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000964/0.3784, allocations: 380.8 kB / 0.5676 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3784, allocations: 1.031 kB / 0.5676 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.379, allocations: 116.8 kB / 0.5677 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3794, allocations: 31.25 kB / 0.5678 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3805, allocations: 435.1 kB / 0.5682 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.3807, allocations: 0.7404 MB / 0.5689 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.3807, allocations: 16.94 kB / 0.5689 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.3808, allocations: 17.48 kB / 0.5689 GB, free: 29.64 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3808, allocations: 0.7812 kB / 0.5689 GB, free: 29.64 MB / 446.1 MB Notification: Performance of Templates: time 0.006616/0.3874, allocations: 3.635 MB / 0.5725 GB, free: 29.31 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)