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.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.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") [/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.646/0.646, allocations: 117.9 MB / 133.9 MB, free: 4.496 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.0009839/0.000984, allocations: 185.4 kB / 161.7 MB, free: 2.734 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 394.8 MB, free: 20.97 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.0007802/0.0007802, allocations: 94.34 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005416/0.0005418, allocations: 12 kB / 0.5423 GB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4873, allocations: 74.54 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.6282, allocations: 103.4 MB / 0.7161 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.6285, allocations: 71.97 kB / 0.7162 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.6415, allocations: 4.679 MB / 0.7207 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6415, allocations: 0 / 0.7207 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.6415, allocations: 4 kB / 0.7208 GB, free: 9.777 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.0008767/0.6424, allocations: 0.5678 MB / 0.7213 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6425, allocations: 16.03 kB / 0.7213 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.6426, allocations: 28.64 kB / 0.7213 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.6427, allocations: 196.9 kB / 0.7215 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.6428, allocations: 16.31 kB / 0.7216 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.6429, allocations: 20.36 kB / 0.7216 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.6432, allocations: 142.1 kB / 0.7217 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6432, allocations: 192 / 0.7217 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.6433, allocations: 7.938 kB / 0.7217 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6433, allocations: 3.938 kB / 0.7217 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.6434, allocations: 43.97 kB / 0.7218 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.6438, allocations: 313.3 kB / 0.7221 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.6441, allocations: 126.6 kB / 0.7222 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.6442, allocations: 56.83 kB / 0.7222 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.6442, allocations: 0 / 0.7222 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.6447, allocations: 204.4 kB / 0.7224 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.6447, allocations: 4 kB / 0.7224 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005394/0.6452, allocations: 258.4 kB / 0.7227 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.6453, allocations: 59.41 kB / 0.7227 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.6455, allocations: 224.1 kB / 0.723 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.6455, allocations: 41.69 kB / 0.723 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.6456, allocations: 92.89 kB / 0.7231 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.6457, allocations: 43.5 kB / 0.7231 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.6457, allocations: 8 kB / 0.7231 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6458, allocations: 330.7 kB / 0.7234 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.6461, allocations: 96.17 kB / 0.7235 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.6464, allocations: 154.3 kB / 0.7237 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.6467, allocations: 238.2 kB / 0.7239 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.6467, allocations: 0 / 0.7239 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007836/0.6475, allocations: 411.3 kB / 0.7243 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.6476, allocations: 79.58 kB / 0.7244 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6476, allocations: 4 kB / 0.7244 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6477, allocations: 0 / 0.7244 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.6478, allocations: 27.91 kB / 0.7244 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.6479, allocations: 7.938 kB / 0.7244 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.6482, allocations: 55.75 kB / 0.7245 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.6483, allocations: 39.98 kB / 0.7245 GB, free: 5.613 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.0001875/0.6485, allocations: 160 kB / 0.7247 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.6485, allocations: 19.81 kB / 0.7247 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.6486, allocations: 21.86 kB / 0.7247 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.6486, allocations: 7.938 kB / 0.7247 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6486, allocations: 0 / 0.7247 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6486, allocations: 0 / 0.7247 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.6494, allocations: 0.5357 MB / 0.7252 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6494, allocations: 3.938 kB / 0.7252 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.6495, allocations: 11.92 kB / 0.7252 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6495, allocations: 0 / 0.7252 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.6495, allocations: 15.98 kB / 0.7253 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.6495, allocations: 0 / 0.7253 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6495, allocations: 0 / 0.7253 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.6499, allocations: 303.2 kB / 0.7255 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.6501, allocations: 140.7 kB / 0.7257 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.6501, allocations: 12 kB / 0.7257 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.6503, allocations: 15.98 kB / 0.7257 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.6504, allocations: 11.98 kB / 0.7257 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.6504, allocations: 35.97 kB / 0.7258 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001469/0.6506, allocations: 157.8 kB / 0.7259 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6506, allocations: 3.938 kB / 0.7259 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003241/0.6509, allocations: 48 kB / 0.726 GB, free: 4.027 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.00018/0.6511, allocations: 127.3 kB / 0.7261 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005805/0.6517, allocations: 344.3 kB / 0.7264 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6517, allocations: 0 / 0.7264 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.6518, allocations: 67.95 kB / 0.7265 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.6522, allocations: 28.59 kB / 0.7265 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.6529, allocations: 363.1 kB / 0.7268 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.6532, allocations: 0.7281 MB / 0.7276 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.6533, allocations: 33.08 kB / 0.7276 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.6534, allocations: 31.42 kB / 0.7276 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/0.6535, allocations: 0 / 0.7276 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of Templates: time 0.008275/0.6617, allocations: 3.983 MB / 0.7315 GB, free: 14.27 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)