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.7082/0.7082, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.001032/0.001033, allocations: 180.8 kB / 164.7 MB, free: 6.523 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.37/1.37, allocations: 205.2 MB / 399.5 MB, free: 5.863 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.0009012/0.0009012, allocations: 86.47 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.202e-05/1.205e-05, allocations: 3.984 kB / 0.5466 GB, free: 60.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 76.76 MB / 0.6215 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5518, allocations: 104.1 MB / 0.7231 GB, free: 11.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.552, allocations: 84.73 kB / 0.7232 GB, free: 11.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.5655, allocations: 4.647 MB / 0.7278 GB, free: 7.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5655, allocations: 4 kB / 0.7278 GB, free: 7.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.5655, allocations: 4 kB / 0.7278 GB, free: 7.578 MB / 490.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.0007405/0.5663, allocations: 0.5376 MB / 0.7283 GB, free: 6.988 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5663, allocations: 12.03 kB / 0.7283 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.5664, allocations: 27.67 kB / 0.7283 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.5666, allocations: 195.9 kB / 0.7285 GB, free: 6.715 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.5666, allocations: 11.48 kB / 0.7285 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.5667, allocations: 16 kB / 0.7285 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001052/0.5668, allocations: 40.11 kB / 0.7286 GB, free: 6.664 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.567, allocations: 129.9 kB / 0.7287 GB, free: 6.551 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.567, allocations: 0 / 0.7287 GB, free: 6.551 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.5671, allocations: 7.5 kB / 0.7287 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5671, allocations: 0 / 0.7287 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.5674, allocations: 280.8 kB / 0.729 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.5676, allocations: 117.2 kB / 0.7291 GB, free: 6.184 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.5677, allocations: 53.53 kB / 0.7291 GB, free: 6.145 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.5677, allocations: 4 kB / 0.7291 GB, free: 6.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.568, allocations: 195.1 kB / 0.7293 GB, free: 5.961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.5681, allocations: 3.938 kB / 0.7293 GB, free: 5.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003764/0.5684, allocations: 201.5 kB / 0.7295 GB, free: 5.785 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.5685, allocations: 65.44 kB / 0.7296 GB, free: 5.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.5687, allocations: 191.8 kB / 0.7298 GB, free: 5.547 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.5687, allocations: 33.39 kB / 0.7298 GB, free: 5.512 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.5688, allocations: 84.92 kB / 0.7299 GB, free: 5.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.5689, allocations: 54.69 kB / 0.7299 GB, free: 5.383 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.5689, allocations: 4 kB / 0.7299 GB, free: 5.379 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.569, allocations: 326.3 kB / 0.7303 GB, free: 5.055 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.5692, allocations: 77.66 kB / 0.7303 GB, free: 5.008 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.5694, allocations: 138.7 kB / 0.7305 GB, free: 4.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.5695, allocations: 79.06 kB / 0.7305 GB, free: 4.824 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5695, allocations: 0 / 0.7305 GB, free: 4.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005244/0.57, allocations: 304.6 kB / 0.7308 GB, free: 4.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.5701, allocations: 78.62 kB / 0.7309 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5701, allocations: 0 / 0.7309 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5701, allocations: 4 kB / 0.7309 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5703, allocations: 23.92 kB / 0.7309 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5703, allocations: 4 kB / 0.7309 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.5707, allocations: 48 kB / 0.731 GB, free: 4.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.5708, allocations: 43.55 kB / 0.731 GB, free: 4.379 MB / 490.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: 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 () * 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.0001247/0.5709, allocations: 126.6 kB / 0.7311 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.571, allocations: 19.81 kB / 0.7312 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.571, allocations: 21.2 kB / 0.7312 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.571, allocations: 4 kB / 0.7312 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.571, allocations: 0 / 0.7312 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.571, allocations: 4 kB / 0.7312 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007397/0.5718, allocations: 0.4986 MB / 0.7317 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5718, allocations: 4 kB / 0.7317 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.5719, allocations: 11.92 kB / 0.7317 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5719, allocations: 0 / 0.7317 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.5719, allocations: 15.73 kB / 0.7317 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5719, allocations: 0 / 0.7317 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5719, allocations: 0 / 0.7317 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.5723, allocations: 300.5 kB / 0.732 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.5724, allocations: 138.4 kB / 0.7321 GB, free: 3.281 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.5725, allocations: 9.938 kB / 0.7321 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.5726, allocations: 7.984 kB / 0.7321 GB, free: 3.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5727, allocations: 11.98 kB / 0.7322 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.5728, allocations: 31.59 kB / 0.7322 GB, free: 3.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.5729, allocations: 155.1 kB / 0.7323 GB, free: 3.102 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5729, allocations: 0 / 0.7323 GB, free: 3.102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000316/0.5732, allocations: 51.92 kB / 0.7324 GB, free: 3.051 MB / 490.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: 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) * 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.0001438/0.5734, allocations: 116.5 kB / 0.7325 GB, free: 2.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.5738, allocations: 319.2 kB / 0.7328 GB, free: 2.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5738, allocations: 0 / 0.7328 GB, free: 2.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.5739, allocations: 64.59 kB / 0.7329 GB, free: 2.609 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.5741, allocations: 24.3 kB / 0.7329 GB, free: 2.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.5745, allocations: 219 kB / 0.7331 GB, free: 2.383 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.5748, allocations: 0.724 MB / 0.7338 GB, free: 1.633 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.5749, allocations: 29.2 kB / 0.7338 GB, free: 1.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.575, allocations: 34.86 kB / 0.7339 GB, free: 1.574 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.575, allocations: 4 kB / 0.7339 GB, free: 1.57 MB / 490.7 MB Notification: Performance of Templates: time 0.006576/0.5816, allocations: 3.774 MB / 0.7375 GB, free: 13.81 MB / 0.4948 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)