Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8219/0.8219, allocations: 128.7 MB / 143.7 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001807/0.001807, allocations: 182.5 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 95.03 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005086, allocations: 8.188 kB / 0.5603 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2671, allocations: 76.76 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.428, allocations: 104.5 MB / 0.7374 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4283, allocations: 75.95 kB / 0.7375 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.442, allocations: 4.671 MB / 0.742 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4421, allocations: 0 / 0.742 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4421, allocations: 4 kB / 0.742 GB, free: 1.152 MB / 0.5105 GB 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.0009213/0.4431, allocations: 0.5716 MB / 0.7426 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4431, allocations: 12.03 kB / 0.7426 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.4432, allocations: 23.77 kB / 0.7426 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4434, allocations: 195.8 kB / 0.7428 GB, free: 244 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.4435, allocations: 11.98 kB / 0.7428 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.4435, allocations: 16 kB / 0.7428 GB, free: 216 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.4438, allocations: 141.5 kB / 0.743 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4439, allocations: 0 / 0.743 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.4439, allocations: 7.969 kB / 0.743 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4439, allocations: 4 kB / 0.743 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.4441, allocations: 47.97 kB / 0.743 GB, free: 8 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3881/0.8322, allocations: 302.6 kB / 0.7433 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.8327, allocations: 125.4 kB / 0.7434 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.8328, allocations: 2.438 kB / 0.7434 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.8333, allocations: 204.4 kB / 0.7436 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.206e-06/0.8334, allocations: 0 / 0.7436 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0008281/0.8342, allocations: 257.9 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.8343, allocations: 65.8 kB / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.8346, allocations: 206.1 kB / 0.7441 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.8346, allocations: 35.86 kB / 0.7442 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.8347, allocations: 90.59 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.8348, allocations: 44.09 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.8348, allocations: 9.812 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.8349, allocations: 328 kB / 0.7446 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.8352, allocations: 95.66 kB / 0.7447 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.8355, allocations: 149.9 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.8358, allocations: 154.4 kB / 0.745 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.8358, allocations: 4.688 kB / 0.745 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007025/0.8365, allocations: 408.5 kB / 0.7454 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/0.8366, allocations: 73.44 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.8366, allocations: 1.5 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.8366, allocations: 4.812 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.8368, allocations: 28.88 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.8368, allocations: 8.562 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.8372, allocations: 47.38 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.8373, allocations: 40.84 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001691/0.8375, allocations: 164.6 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.8375, allocations: 19.59 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.8376, allocations: 24.7 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8376, allocations: 6.281 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.8376, allocations: 0 / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8376, allocations: 6.141 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.8384, allocations: 0.5364 MB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8384, allocations: 0 / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.8385, allocations: 14.23 kB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8385, allocations: 0 / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.8385, allocations: 10.03 kB / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8385, allocations: 0 / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8385, allocations: 0 / 0.7463 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.8389, allocations: 316.1 kB / 0.7466 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.839, allocations: 136.4 kB / 0.7468 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.8391, allocations: 13.03 kB / 0.7468 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.8393, allocations: 9.516 kB / 0.7468 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.8393, allocations: 21 kB / 0.7468 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.8394, allocations: 26.33 kB / 0.7468 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001245/0.8395, allocations: 159.3 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8395, allocations: 0 / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003164/0.8398, allocations: 52.62 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001582/0.84, allocations: 132.3 kB / 0.7472 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005601/0.8406, allocations: 343.3 kB / 0.7475 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8406, allocations: 1.062 kB / 0.7475 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.8407, allocations: 76 kB / 0.7476 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.841, allocations: 27.56 kB / 0.7476 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.8416, allocations: 354.6 kB / 0.7479 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.8418, allocations: 0.7264 MB / 0.7486 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.842, allocations: 33.31 kB / 0.7487 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.8421, allocations: 32.8 kB / 0.7487 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of SimCode: time 4.1e-07/0.8421, allocations: 1.125 kB / 0.7487 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.009447/0.8515, allocations: 3.961 MB / 0.7526 GB, free: 105.1 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)