Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7392/0.7392, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001175/0.001175, allocations: 172.8 kB / 173.8 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, 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.0009565/0.0009566, allocations: 86.86 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004123, allocations: 8.719 kB / 0.5603 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.182, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.3276, allocations: 104.6 MB / 0.7374 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.328, allocations: 75.95 kB / 0.7375 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01434/0.3423, allocations: 4.682 MB / 0.7421 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3424, allocations: 0 / 0.7421 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3424, allocations: 0 / 0.7421 GB, free: 1.055 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.0009922/0.3434, allocations: 0.5755 MB / 0.7427 GB, free: 416 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3434, allocations: 8.031 kB / 0.7427 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.3436, allocations: 27.77 kB / 0.7427 GB, free: 380 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3438, allocations: 195.8 kB / 0.7429 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.3438, allocations: 7.984 kB / 0.7429 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/0.3439, allocations: 20 kB / 0.7429 GB, free: 112 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3565/0.7004, allocations: 138.9 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.7005, allocations: 0 / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.7007, allocations: 2.375 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.7007, allocations: 2.031 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.7009, allocations: 45.53 kB / 0.7431 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.7014, allocations: 306 kB / 0.7434 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.7017, allocations: 126.5 kB / 0.7435 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.7017, allocations: 6.609 kB / 0.7435 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.7022, allocations: 204.6 kB / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.126e-06/0.7022, allocations: 3.125 kB / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0006111/0.7028, allocations: 261.2 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.7029, allocations: 65.2 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.7031, allocations: 202.8 kB / 0.7442 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.7031, allocations: 36.08 kB / 0.7442 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.7032, allocations: 89.17 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.7033, allocations: 51.27 kB / 0.7444 GB, free: 108 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.7033, allocations: 10.22 kB / 0.7444 GB, free: 108 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.7034, allocations: 322.2 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.7036, allocations: 97.97 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.7039, allocations: 149.6 kB / 0.7449 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.7041, allocations: 153.9 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7041, allocations: 1.375 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006695/0.7048, allocations: 409.6 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.7049, allocations: 72.52 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.7049, allocations: 3.5 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.7049, allocations: 3.469 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.7051, allocations: 32.33 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.7051, allocations: 9.625 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.7055, allocations: 47.05 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.7055, allocations: 47.95 kB / 0.7457 GB, free: 107.3 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.0001461/0.7057, allocations: 160 kB / 0.7458 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.7057, allocations: 20.72 kB / 0.7458 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.7058, allocations: 23.41 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.7058, allocations: 2.797 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7058, allocations: 4.453 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7058, allocations: 1.5 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.7065, allocations: 0.5288 MB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7065, allocations: 0.5 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.7066, allocations: 14.28 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7066, allocations: 1.125 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.7066, allocations: 16.98 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7066, allocations: 1.281 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7066, allocations: 1.406 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.707, allocations: 312.4 kB / 0.7467 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.7071, allocations: 146.8 kB / 0.7469 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.7071, allocations: 6.594 kB / 0.7469 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.7073, allocations: 14.05 kB / 0.7469 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.7074, allocations: 16.8 kB / 0.7469 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.7074, allocations: 22.98 kB / 0.7469 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001043/0.7075, allocations: 163.2 kB / 0.7471 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7075, allocations: 0 / 0.7471 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003064/0.7078, allocations: 48.47 kB / 0.7471 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.0001378/0.708, allocations: 135.6 kB / 0.7472 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005374/0.7085, allocations: 341.9 kB / 0.7476 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7085, allocations: 0 / 0.7476 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.7087, allocations: 67.95 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.0002251/0.7089, allocations: 19.64 kB / 0.7477 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.7095, allocations: 367.7 kB / 0.748 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.7097, allocations: 0.7267 MB / 0.7487 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.7098, allocations: 32.05 kB / 0.7487 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.7099, allocations: 30.8 kB / 0.7488 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.7099, allocations: 0 / 0.7488 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.007683/0.7176, allocations: 3.965 MB / 0.7527 GB, free: 105 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)