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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009269/0.000927, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4818/0.4818, allocations: 90.8 MB / 104.5 MB, free: 13.86 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.0008269, allocations: 92.67 kB / 421.2 MB, free: 5.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.38e-05, allocations: 0 / 0.4896 GB, free: 46.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 72.31 MB / 0.5602 GB, free: 6.426 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5359, allocations: 104.1 MB / 0.6619 GB, free: 3.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.5361, allocations: 71.77 kB / 0.662 GB, free: 3.691 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.5495, allocations: 4.595 MB / 0.6665 GB, free: 15.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5495, allocations: 0 / 0.6665 GB, free: 15.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.5496, allocations: 0 / 0.6665 GB, free: 15.7 MB / 474.7 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.0006818/0.5503, allocations: 0.6252 MB / 0.6671 GB, free: 15.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.5503, allocations: 11.98 kB / 0.6671 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.5504, allocations: 35.66 kB / 0.6671 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.5507, allocations: 251 kB / 0.6674 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.5508, allocations: 15.5 kB / 0.6674 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.5509, allocations: 23.23 kB / 0.6674 GB, free: 14.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.5511, allocations: 146.3 kB / 0.6675 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.5511, allocations: 0 / 0.6675 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.5512, allocations: 0 / 0.6675 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5512, allocations: 0 / 0.6675 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.5513, allocations: 65.05 kB / 0.6676 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.5516, allocations: 331 kB / 0.6679 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.5518, allocations: 104.3 kB / 0.668 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.5519, allocations: 57.41 kB / 0.6681 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.552, allocations: 7 kB / 0.6681 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.5522, allocations: 155.8 kB / 0.6682 GB, free: 13.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 3.696e-06/0.5522, allocations: 0 / 0.6682 GB, free: 13.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004756/0.5527, allocations: 261 kB / 0.6685 GB, free: 13.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.5527, allocations: 66.47 kB / 0.6685 GB, free: 13.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.553, allocations: 254.7 kB / 0.6688 GB, free: 13.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.553, allocations: 41.19 kB / 0.6688 GB, free: 13.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.5531, allocations: 88.45 kB / 0.6689 GB, free: 13.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.5531, allocations: 34.16 kB / 0.6689 GB, free: 13.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.5532, allocations: 7.25 kB / 0.669 GB, free: 13.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5533, allocations: 329.7 kB / 0.6693 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5535, allocations: 82.98 kB / 0.6693 GB, free: 12.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.5537, allocations: 147.7 kB / 0.6695 GB, free: 12.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.5539, allocations: 143.2 kB / 0.6696 GB, free: 12.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5539, allocations: 0 / 0.6696 GB, free: 12.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006057/0.5545, allocations: 397.3 kB / 0.67 GB, free: 12.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.5546, allocations: 71.2 kB / 0.6701 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5546, allocations: 4 kB / 0.6701 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.5546, allocations: 7.984 kB / 0.6701 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.5548, allocations: 31.59 kB / 0.6701 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5548, allocations: 4 kB / 0.6701 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.5551, allocations: 43.39 kB / 0.6702 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.5552, allocations: 43.97 kB / 0.6702 GB, free: 12.03 MB / 474.7 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.5553, allocations: 132.6 kB / 0.6703 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.5553, allocations: 27.62 kB / 0.6703 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.5554, allocations: 24.08 kB / 0.6704 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5554, allocations: 4 kB / 0.6704 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5554, allocations: 4 kB / 0.6704 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5554, allocations: 3.984 kB / 0.6704 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/0.5562, allocations: 0.5912 MB / 0.671 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5562, allocations: 0 / 0.671 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.5563, allocations: 7.984 kB / 0.671 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5563, allocations: 0 / 0.671 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.5563, allocations: 14.67 kB / 0.671 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5563, allocations: 0 / 0.671 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5563, allocations: 7.984 kB / 0.671 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.5567, allocations: 362 kB / 0.6713 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.5569, allocations: 154.7 kB / 0.6715 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.557, allocations: 11.25 kB / 0.6715 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.5574, allocations: 31.97 kB / 0.6715 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.5574, allocations: 7.984 kB / 0.6715 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.5575, allocations: 51.97 kB / 0.6716 GB, free: 10.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.5576, allocations: 203.1 kB / 0.6718 GB, free: 10.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5576, allocations: 0 / 0.6718 GB, free: 10.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.5579, allocations: 51.98 kB / 0.6718 GB, free: 10.41 MB / 474.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.5581, allocations: 119.5 kB / 0.6719 GB, free: 10.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.5586, allocations: 340.5 kB / 0.6723 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5586, allocations: 8.375 kB / 0.6723 GB, free: 9.922 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.5587, allocations: 67.92 kB / 0.6723 GB, free: 9.855 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.559, allocations: 21.81 kB / 0.6724 GB, free: 9.836 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.5594, allocations: 270.2 kB / 0.6726 GB, free: 9.547 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.5597, allocations: 0.7519 MB / 0.6733 GB, free: 8.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.5598, allocations: 12.77 kB / 0.6734 GB, free: 8.758 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.5599, allocations: 23.36 kB / 0.6734 GB, free: 8.734 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5599, allocations: 0 / 0.6734 GB, free: 8.734 MB / 474.7 MB Notification: Performance of Templates: time 0.00647/0.5663, allocations: 3.898 MB / 0.6772 GB, free: 4.844 MB / 474.7 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)