Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 105.6 kB / 16.4 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7037/0.7037, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.31 kB / 0.5576 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1519, allocations: 76.19 MB / 0.632 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002361/0.1543, allocations: 1.504 MB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1554, allocations: 0.5363 MB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.1555, allocations: 0 / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.236e-05/0.1556, allocations: 11.86 kB / 0.634 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1557, allocations: 27.86 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006892/0.1564, allocations: 306.4 kB / 0.6344 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.1569, allocations: 0.511 MB / 0.6349 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.157, allocations: 11.98 kB / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.1573, allocations: 275.6 kB / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1576, allocations: 143.4 kB / 0.6353 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.771e-05/0.1576, allocations: 24 kB / 0.6353 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.1577, allocations: 28 kB / 0.6353 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1579, allocations: 123.6 kB / 0.6354 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.158, allocations: 183.1 kB / 0.6356 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.1584, allocations: 418.7 kB / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1584, allocations: 7.875 kB / 0.636 GB, free: 352 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1585, allocations: 0 / 0.636 GB, free: 352 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1585, allocations: 0 / 0.636 GB, free: 352 kB / 478.1 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.001175/0.1596, allocations: 0.8703 MB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1597, allocations: 12.03 kB / 0.6369 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.1598, allocations: 56.45 kB / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1602, allocations: 310.3 kB / 0.6372 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.1603, allocations: 12.38 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.1603, allocations: 32.36 kB / 0.6373 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1614, allocations: 210 kB / 0.6375 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1614, allocations: 192 / 0.6375 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.1614, allocations: 3.938 kB / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1614, allocations: 7.938 kB / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.1622, allocations: 99.92 kB / 0.6376 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.1626, allocations: 385.2 kB / 0.638 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1637, allocations: 178.5 kB / 0.6381 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.1645, allocations: 113.2 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1645, allocations: 0 / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009464/0.1654, allocations: 239 kB / 0.6385 GB, free: 13.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.1655, allocations: 0 / 0.6385 GB, free: 13.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002503/0.168, allocations: 483.8 kB / 0.6389 GB, free: 13.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.168, allocations: 63.34 kB / 0.639 GB, free: 13.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.1684, allocations: 409.9 kB / 0.6394 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.1685, allocations: 37.7 kB / 0.6394 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.1685, allocations: 93.44 kB / 0.6395 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.1686, allocations: 47.45 kB / 0.6395 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.1688, allocations: 129.2 kB / 0.6397 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1689, allocations: 322.8 kB / 0.64 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.1691, allocations: 115.9 kB / 0.6401 GB, free: 11.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1694, allocations: 175 kB / 0.6403 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.1698, allocations: 271.4 kB / 0.6405 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1698, allocations: 4 kB / 0.6405 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000739/0.1705, allocations: 0.4888 MB / 0.641 GB, free: 10.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.1706, allocations: 91.31 kB / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1706, allocations: 0 / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1706, allocations: 4 kB / 0.6411 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1708, allocations: 23.97 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1708, allocations: 3.938 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.1713, allocations: 60.05 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/0.1714, allocations: 59.98 kB / 0.6412 GB, free: 10.67 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.1716, allocations: 196 kB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1716, allocations: 39.47 kB / 0.6414 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.1717, allocations: 43.69 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1717, allocations: 3.984 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.1717, allocations: 4 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1717, allocations: 3.984 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.1738, allocations: 0.7443 MB / 0.6422 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1738, allocations: 0 / 0.6422 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.1739, allocations: 7.938 kB / 0.6422 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1739, allocations: 8 kB / 0.6422 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.1739, allocations: 15.97 kB / 0.6423 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1739, allocations: 8 kB / 0.6423 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1739, allocations: 0 / 0.6423 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.1757, allocations: 475.2 kB / 0.6427 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.1759, allocations: 200.5 kB / 0.6429 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.176, allocations: 8 kB / 0.6429 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.1765, allocations: 35.95 kB / 0.643 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.1765, allocations: 4 kB / 0.643 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.1766, allocations: 59.97 kB / 0.643 GB, free: 8.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.1768, allocations: 299.1 kB / 0.6433 GB, free: 8.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1768, allocations: 0 / 0.6433 GB, free: 8.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.1772, allocations: 67.98 kB / 0.6434 GB, free: 8.379 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.1773, allocations: 123 kB / 0.6435 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.1786, allocations: 437.2 kB / 0.6439 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1786, allocations: 3.938 kB / 0.6439 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.1794, allocations: 115.9 kB / 0.644 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1797, allocations: 33.48 kB / 0.644 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1811, allocations: 0.5381 MB / 0.6446 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1814, allocations: 0.7784 MB / 0.6453 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.1815, allocations: 13.08 kB / 0.6453 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1816, allocations: 19.38 kB / 0.6454 GB, free: 6.242 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1816, allocations: 0 / 0.6454 GB, free: 6.242 MB / 494.1 MB Notification: Performance of Templates: time 0.007737/0.1893, allocations: 4.933 MB / 0.6502 GB, free: 1.215 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)