Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7915/0.7915, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001317/0.001317, allocations: 182.4 kB / 173.8 MB, free: 6.129 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.809/1.809, 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.001022/0.001022, allocations: 102.5 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003145, allocations: 10.25 kB / 0.5603 GB, free: 97.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 76.77 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.2828, allocations: 104.6 MB / 0.7374 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.2831, allocations: 71.95 kB / 0.7375 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0152/0.2984, allocations: 4.696 MB / 0.7421 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2984, allocations: 0 / 0.7421 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.2984, allocations: 4 kB / 0.7421 GB, free: 1.062 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.001286/0.2997, allocations: 0.5716 MB / 0.7427 GB, free: 428 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2998, allocations: 8.031 kB / 0.7427 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.3, allocations: 27.77 kB / 0.7427 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3002, allocations: 195.8 kB / 0.7429 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.3003, allocations: 11.98 kB / 0.7429 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3004, allocations: 16 kB / 0.7429 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2802/0.5807, allocations: 145.5 kB / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.5808, allocations: 0 / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/0.5809, allocations: 1.078 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5809, allocations: 0 / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.5811, allocations: 46.02 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.5817, allocations: 307.3 kB / 0.7434 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.582, allocations: 122 kB / 0.7435 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.582, allocations: 4.781 kB / 0.7435 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.5824, allocations: 203.1 kB / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/0.5824, allocations: 0 / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0005565/0.583, allocations: 263.3 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.583, allocations: 64.34 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5832, allocations: 202.2 kB / 0.7442 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.5833, allocations: 39.52 kB / 0.7442 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.5833, allocations: 85.55 kB / 0.7443 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.5834, allocations: 49.73 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.5834, allocations: 7.094 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.5835, allocations: 321.5 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.5838, allocations: 108.5 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.584, allocations: 143.8 kB / 0.7449 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.5842, allocations: 155.5 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5843, allocations: 0 / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006545/0.5849, allocations: 408.9 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.585, allocations: 75.02 kB / 0.7455 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.585, allocations: 3.625 kB / 0.7455 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.585, allocations: 6.828 kB / 0.7455 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.5852, allocations: 30.44 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5852, allocations: 3.938 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.5856, allocations: 53.25 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.5856, allocations: 44.19 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.0001443/0.5858, allocations: 156.3 kB / 0.7458 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.5859, allocations: 18.52 kB / 0.7458 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.5859, allocations: 23.2 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5859, allocations: 2.312 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.586, allocations: 3.953 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.586, allocations: 7.25 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.5866, allocations: 0.5357 MB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5867, allocations: 1.125 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.5867, allocations: 10.34 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5867, allocations: 0 / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.5867, allocations: 15.33 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5867, allocations: 7.625 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5868, allocations: 0 / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.5871, allocations: 304.4 kB / 0.7467 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.5872, allocations: 137.3 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.5873, allocations: 7.031 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.5875, allocations: 18.34 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.5875, allocations: 18.69 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.5876, allocations: 30.42 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001103/0.5877, allocations: 164.4 kB / 0.7471 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5877, allocations: 0 / 0.7471 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000301/0.588, allocations: 49.66 kB / 0.7471 GB, free: 106.5 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.0001398/0.5881, allocations: 116.9 kB / 0.7472 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.5887, allocations: 347.3 kB / 0.7476 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5887, allocations: 4.375 kB / 0.7476 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.5889, allocations: 72.27 kB / 0.7476 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.5891, allocations: 16.45 kB / 0.7477 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.5896, allocations: 360 kB / 0.748 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.5898, allocations: 0.732 MB / 0.7487 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.5899, allocations: 30.47 kB / 0.7487 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/0.59, allocations: 33.88 kB / 0.7488 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.5901, allocations: 0 / 0.7488 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.007639/0.5977, allocations: 3.957 MB / 0.7526 GB, free: 105 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)