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.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.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") [/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.6723/0.6723, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001096/0.001096, allocations: 176 kB / 161.7 MB, free: 2.746 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.056/2.056, allocations: 205.4 MB / 394.8 MB, free: 20.9 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.001206/0.001206, allocations: 101.2 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 12 kB / 0.5423 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.429, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.5718, allocations: 103.5 MB / 0.7162 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.5721, allocations: 71.95 kB / 0.7162 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.5862, allocations: 4.706 MB / 0.7208 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5863, allocations: 0 / 0.7208 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.5863, allocations: 4 kB / 0.7208 GB, free: 9.703 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.001099/0.5874, allocations: 0.5717 MB / 0.7214 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.5874, allocations: 12.02 kB / 0.7214 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.5876, allocations: 28.66 kB / 0.7214 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.5879, allocations: 200.8 kB / 0.7216 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.5879, allocations: 12.38 kB / 0.7216 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.588, allocations: 16.36 kB / 0.7216 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.5884, allocations: 142.1 kB / 0.7218 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5884, allocations: 192 / 0.7218 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.5884, allocations: 7.875 kB / 0.7218 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.5884, allocations: 8 kB / 0.7218 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.5886, allocations: 47.97 kB / 0.7218 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.5891, allocations: 309.3 kB / 0.7221 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.5894, allocations: 126.6 kB / 0.7223 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.5895, allocations: 50.84 kB / 0.7223 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.5896, allocations: 8 kB / 0.7223 GB, free: 8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.59, allocations: 207.1 kB / 0.7225 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.953e-06/0.59, allocations: 0 / 0.7225 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006149/0.5906, allocations: 262.9 kB / 0.7228 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.5907, allocations: 59.39 kB / 0.7228 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.591, allocations: 220.1 kB / 0.723 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.5911, allocations: 37.69 kB / 0.7231 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.5911, allocations: 92.89 kB / 0.7232 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.5912, allocations: 43.5 kB / 0.7232 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.5913, allocations: 11.94 kB / 0.7232 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5915, allocations: 326.8 kB / 0.7235 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.5918, allocations: 100.2 kB / 0.7236 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.5921, allocations: 150.3 kB / 0.7238 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.5925, allocations: 238.4 kB / 0.724 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5925, allocations: 0 / 0.724 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000841/0.5934, allocations: 419.7 kB / 0.7244 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.5935, allocations: 75.38 kB / 0.7245 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5935, allocations: 0 / 0.7245 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5935, allocations: 4 kB / 0.7245 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.5937, allocations: 23.92 kB / 0.7245 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.5937, allocations: 7.938 kB / 0.7245 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.5941, allocations: 51.75 kB / 0.7245 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/0.5942, allocations: 48.02 kB / 0.7246 GB, free: 5.539 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.0002346/0.5944, allocations: 160 kB / 0.7247 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.5945, allocations: 19.81 kB / 0.7248 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.5946, allocations: 25.86 kB / 0.7248 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.5946, allocations: 3.938 kB / 0.7248 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5946, allocations: 4 kB / 0.7248 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5946, allocations: 0 / 0.7248 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008983/0.5955, allocations: 0.5271 MB / 0.7253 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5955, allocations: 3.938 kB / 0.7253 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.5956, allocations: 15.92 kB / 0.7253 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5956, allocations: 0 / 0.7253 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.5956, allocations: 11.98 kB / 0.7253 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.5957, allocations: 0 / 0.7253 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5957, allocations: 4 kB / 0.7253 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.5961, allocations: 304.4 kB / 0.7256 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.5963, allocations: 144.7 kB / 0.7258 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.5964, allocations: 11.94 kB / 0.7258 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.5965, allocations: 15.98 kB / 0.7258 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.5966, allocations: 15.97 kB / 0.7258 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.5967, allocations: 27.98 kB / 0.7258 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001713/0.5968, allocations: 157.8 kB / 0.726 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5969, allocations: 7.938 kB / 0.726 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003575/0.5972, allocations: 51.98 kB / 0.726 GB, free: 3.945 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.0002222/0.5974, allocations: 115.4 kB / 0.7262 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007317/0.5982, allocations: 352.7 kB / 0.7265 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5982, allocations: 0 / 0.7265 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.5984, allocations: 59.97 kB / 0.7265 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.5988, allocations: 24.59 kB / 0.7266 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.5997, allocations: 363.1 kB / 0.7269 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.6003, allocations: 0.732 MB / 0.7276 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.6005, allocations: 29.08 kB / 0.7277 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.6006, allocations: 31.42 kB / 0.7277 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.6006, allocations: 0 / 0.7277 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.011/0.6116, allocations: 3.973 MB / 0.7316 GB, free: 14.21 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)