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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7175/0.7175, 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.001033/0.001033, allocations: 184.8 kB / 164.7 MB, free: 6.52 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.428/1.428, allocations: 205.2 MB / 399.5 MB, free: 5.859 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.0008196/0.0008196, allocations: 91.56 kB / 476.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.464e-05, allocations: 4 kB / 0.5466 GB, free: 60.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 76.75 MB / 0.6215 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5847, allocations: 104 MB / 0.7231 GB, free: 11.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.585, allocations: 74.45 kB / 0.7232 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.599, allocations: 4.631 MB / 0.7277 GB, free: 7.562 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.599, allocations: 4 kB / 0.7277 GB, free: 7.559 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.5991, allocations: 0 / 0.7277 GB, free: 7.559 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.0009712/0.6, allocations: 0.5475 MB / 0.7283 GB, free: 6.961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6001, allocations: 8.031 kB / 0.7283 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.6002, allocations: 35.66 kB / 0.7283 GB, free: 6.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.6004, allocations: 180 kB / 0.7285 GB, free: 6.699 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.6004, allocations: 7.938 kB / 0.7285 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.6005, allocations: 20.73 kB / 0.7285 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/0.6006, allocations: 36.94 kB / 0.7285 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.6009, allocations: 137.5 kB / 0.7287 GB, free: 6.527 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6009, allocations: 3.984 kB / 0.7287 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.6009, allocations: 7.359 kB / 0.7287 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6009, allocations: 0 / 0.7287 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.6013, allocations: 279.7 kB / 0.7289 GB, free: 6.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.6014, allocations: 119.9 kB / 0.7291 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.6015, allocations: 46.09 kB / 0.7291 GB, free: 6.121 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.6016, allocations: 4 kB / 0.7291 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.6019, allocations: 207.4 kB / 0.7293 GB, free: 5.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.6019, allocations: 0 / 0.7293 GB, free: 5.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004107/0.6023, allocations: 198 kB / 0.7295 GB, free: 5.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.6024, allocations: 58.66 kB / 0.7295 GB, free: 5.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.6026, allocations: 193.8 kB / 0.7297 GB, free: 5.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.6027, allocations: 37.69 kB / 0.7298 GB, free: 5.484 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.6027, allocations: 87.61 kB / 0.7299 GB, free: 5.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.6028, allocations: 47.83 kB / 0.7299 GB, free: 5.359 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.6028, allocations: 0 / 0.7299 GB, free: 5.359 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.603, allocations: 328.7 kB / 0.7302 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.6031, allocations: 88.7 kB / 0.7303 GB, free: 4.977 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.6033, allocations: 139.5 kB / 0.7304 GB, free: 4.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.6035, allocations: 68.95 kB / 0.7305 GB, free: 4.805 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.6035, allocations: 0 / 0.7305 GB, free: 4.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005526/0.6041, allocations: 306.3 kB / 0.7308 GB, free: 4.555 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.6041, allocations: 74.64 kB / 0.7309 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6042, allocations: 4 kB / 0.7309 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6042, allocations: 0 / 0.7309 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.6044, allocations: 27.91 kB / 0.7309 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6044, allocations: 4 kB / 0.7309 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.6048, allocations: 44.03 kB / 0.7309 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/0.6049, allocations: 43.42 kB / 0.731 GB, free: 4.359 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.0001275/0.605, allocations: 131.9 kB / 0.7311 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.605, allocations: 19.8 kB / 0.7311 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.6051, allocations: 20.97 kB / 0.7311 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6051, allocations: 0 / 0.7311 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6051, allocations: 4 kB / 0.7311 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6051, allocations: 7.984 kB / 0.7312 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.6058, allocations: 0.4994 MB / 0.7316 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6058, allocations: 0 / 0.7316 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.6058, allocations: 8 kB / 0.7316 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.6058, allocations: 0 / 0.7316 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.6059, allocations: 11.97 kB / 0.7317 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6059, allocations: 0 / 0.7317 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6059, allocations: 4 kB / 0.7317 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.6062, allocations: 308.8 kB / 0.732 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.6064, allocations: 135.7 kB / 0.7321 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.6064, allocations: 11.11 kB / 0.7321 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.6066, allocations: 8 kB / 0.7321 GB, free: 3.242 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.6067, allocations: 19.91 kB / 0.7321 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.6067, allocations: 23.42 kB / 0.7321 GB, free: 3.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.6069, allocations: 154 kB / 0.7323 GB, free: 3.074 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6069, allocations: 0 / 0.7323 GB, free: 3.074 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000332/0.6072, allocations: 47.94 kB / 0.7323 GB, free: 3.027 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.0001712/0.6074, allocations: 117.9 kB / 0.7325 GB, free: 2.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.6079, allocations: 316.8 kB / 0.7328 GB, free: 2.637 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6079, allocations: 0 / 0.7328 GB, free: 2.637 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.608, allocations: 72.83 kB / 0.7328 GB, free: 2.582 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.6083, allocations: 21.03 kB / 0.7328 GB, free: 2.566 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.6087, allocations: 214.7 kB / 0.733 GB, free: 2.359 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6091, allocations: 0.7312 MB / 0.7338 GB, free: 1.605 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.6092, allocations: 29.2 kB / 0.7338 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6093, allocations: 31.42 kB / 0.7338 GB, free: 1.547 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6093, allocations: 0 / 0.7338 GB, free: 1.547 MB / 490.7 MB Notification: Performance of Templates: time 0.007557/0.6169, allocations: 3.774 MB / 0.7375 GB, free: 13.78 MB / 0.4948 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)