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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6619/0.6619, allocations: 117.9 MB / 133.9 MB, free: 4.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.001211/0.001211, allocations: 185.5 kB / 161.7 MB, free: 2.684 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 394.8 MB, free: 20.88 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.00092/0.0009198, allocations: 83.55 kB / 470.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 12 kB / 0.5423 GB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4668, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.6067, allocations: 103.5 MB / 0.7162 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.607, allocations: 75.95 kB / 0.7162 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.621, allocations: 4.708 MB / 0.7208 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6211, allocations: 0 / 0.7208 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.6211, allocations: 4 kB / 0.7208 GB, free: 9.707 MB / 0.4948 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.001055/0.6221, allocations: 0.5717 MB / 0.7214 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6222, allocations: 8.031 kB / 0.7214 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.6223, allocations: 28.66 kB / 0.7214 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.6225, allocations: 200.8 kB / 0.7216 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.6226, allocations: 12.38 kB / 0.7216 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.6227, allocations: 24.36 kB / 0.7217 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.623, allocations: 138 kB / 0.7218 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.623, allocations: 192 / 0.7218 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.623, allocations: 7.938 kB / 0.7218 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.623, allocations: 7.938 kB / 0.7218 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.6232, allocations: 47.97 kB / 0.7218 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.6236, allocations: 305.3 kB / 0.7221 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.6238, allocations: 122.7 kB / 0.7223 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.624, allocations: 56.83 kB / 0.7223 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.624, allocations: 8 kB / 0.7223 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.6244, allocations: 199.1 kB / 0.7225 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.6244, allocations: 0 / 0.7225 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005932/0.625, allocations: 258.5 kB / 0.7228 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.6251, allocations: 63.41 kB / 0.7228 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.6253, allocations: 216.1 kB / 0.723 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.6254, allocations: 45.69 kB / 0.7231 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.6255, allocations: 88.89 kB / 0.7231 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.6255, allocations: 47.5 kB / 0.7232 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.6256, allocations: 8 kB / 0.7232 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6257, allocations: 330.8 kB / 0.7235 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.626, allocations: 100.1 kB / 0.7236 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.6263, allocations: 142.4 kB / 0.7237 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.6267, allocations: 240.5 kB / 0.724 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6267, allocations: 4 kB / 0.724 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000767/0.6275, allocations: 416.5 kB / 0.7244 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.6276, allocations: 71.39 kB / 0.7244 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6276, allocations: 4 kB / 0.7244 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6276, allocations: 4 kB / 0.7245 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.6278, allocations: 35.84 kB / 0.7245 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6278, allocations: 4 kB / 0.7245 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.6281, allocations: 55.94 kB / 0.7245 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.6282, allocations: 39.98 kB / 0.7246 GB, free: 5.547 MB / 0.4948 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.0001912/0.6284, allocations: 164 kB / 0.7247 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.6285, allocations: 15.81 kB / 0.7248 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.6285, allocations: 25.86 kB / 0.7248 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.6285, allocations: 3.938 kB / 0.7248 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6286, allocations: 0 / 0.7248 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6286, allocations: 4 kB / 0.7248 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.6294, allocations: 0.5346 MB / 0.7253 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6294, allocations: 3.938 kB / 0.7253 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.6295, allocations: 7.984 kB / 0.7253 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6295, allocations: 4 kB / 0.7253 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.6295, allocations: 11.92 kB / 0.7253 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6295, allocations: 0 / 0.7253 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6295, allocations: 0 / 0.7253 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.6299, allocations: 308.7 kB / 0.7256 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.6301, allocations: 144.7 kB / 0.7258 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.6302, allocations: 8 kB / 0.7258 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.6303, allocations: 15.98 kB / 0.7258 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.6304, allocations: 19.92 kB / 0.7258 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.6305, allocations: 23.97 kB / 0.7258 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001522/0.6306, allocations: 161.8 kB / 0.726 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6306, allocations: 3.938 kB / 0.726 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003555/0.631, allocations: 52 kB / 0.726 GB, free: 3.953 MB / 0.4948 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.0001813/0.6312, allocations: 115 kB / 0.7261 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006106/0.6318, allocations: 346.5 kB / 0.7265 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6318, allocations: 0 / 0.7265 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.632, allocations: 75.89 kB / 0.7266 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.6323, allocations: 27.47 kB / 0.7266 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.6331, allocations: 354.8 kB / 0.7269 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.6335, allocations: 0.7281 MB / 0.7276 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.6336, allocations: 37.06 kB / 0.7277 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.6337, allocations: 27.42 kB / 0.7277 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.6337, allocations: 8 kB / 0.7277 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of Templates: time 0.008532/0.6423, allocations: 3.979 MB / 0.7316 GB, free: 14.2 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)