Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 115.6 kB / 17.08 MB, free: 5.992 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.001098/0.001098, allocations: 194 kB / 18.02 MB, free: 5.066 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7294/0.7294, allocations: 115.3 MB / 407.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 65.75 kB / 0.5583 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1523, allocations: 76.19 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00296/0.1553, allocations: 1.51 MB / 0.6342 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1566, allocations: 0.5306 MB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.1567, allocations: 4 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.898e-05/0.1568, allocations: 11.86 kB / 0.6347 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1569, allocations: 27.84 kB / 0.6347 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.1578, allocations: 310.3 kB / 0.635 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.1585, allocations: 0.4994 MB / 0.6355 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.1585, allocations: 11.98 kB / 0.6355 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.159, allocations: 279.6 kB / 0.6358 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.1593, allocations: 147.5 kB / 0.6359 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1595, allocations: 24 kB / 0.636 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.1596, allocations: 28 kB / 0.636 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1597, allocations: 119.6 kB / 0.6361 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.1599, allocations: 179.1 kB / 0.6363 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.1603, allocations: 422.6 kB / 0.6367 GB, free: 332 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1603, allocations: 0 / 0.6367 GB, free: 332 kB / 478.1 MB Notification: Performance of FrontEnd: time 9.638e-06/0.1603, allocations: 0 / 0.6367 GB, free: 332 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1603, allocations: 3.938 kB / 0.6367 GB, free: 328 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.001308/0.1617, allocations: 0.8725 MB / 0.6375 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1617, allocations: 12.03 kB / 0.6376 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.1618, allocations: 48.47 kB / 0.6376 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1622, allocations: 310.3 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.1623, allocations: 16.38 kB / 0.6379 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.1623, allocations: 28.3 kB / 0.6379 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1634, allocations: 214 kB / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1634, allocations: 192 / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.1635, allocations: 11.94 kB / 0.6382 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1635, allocations: 0 / 0.6382 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.1643, allocations: 99.86 kB / 0.6382 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.1648, allocations: 389.2 kB / 0.6386 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.1659, allocations: 182.4 kB / 0.6388 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007739/0.1667, allocations: 113.2 kB / 0.6389 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1667, allocations: 0 / 0.6389 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.1677, allocations: 237.4 kB / 0.6391 GB, free: 13.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.1678, allocations: 0 / 0.6391 GB, free: 13.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002671/0.1704, allocations: 480.9 kB / 0.6396 GB, free: 13.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.1705, allocations: 63.33 kB / 0.6396 GB, free: 13.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.171, allocations: 413.9 kB / 0.64 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.252e-05/0.1711, allocations: 41.69 kB / 0.6401 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1712, allocations: 93.45 kB / 0.6402 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.1712, allocations: 43.44 kB / 0.6402 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.1714, allocations: 129.2 kB / 0.6403 GB, free: 12.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1716, allocations: 322.8 kB / 0.6406 GB, free: 12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.1718, allocations: 115.9 kB / 0.6408 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.1721, allocations: 182.4 kB / 0.6409 GB, free: 11.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1725, allocations: 269.3 kB / 0.6412 GB, free: 11.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1725, allocations: 0 / 0.6412 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008084/0.1733, allocations: 494.6 kB / 0.6417 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.1734, allocations: 96.7 kB / 0.6417 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.1735, allocations: 4 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1735, allocations: 0 / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1737, allocations: 20.17 kB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1737, allocations: 11.94 kB / 0.6418 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.1742, allocations: 51.86 kB / 0.6418 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-05/0.1743, allocations: 63.97 kB / 0.6419 GB, free: 10.64 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.0002557/0.1746, allocations: 191.5 kB / 0.6421 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.1746, allocations: 43.47 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.1747, allocations: 43.69 kB / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1747, allocations: 4 kB / 0.6422 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1747, allocations: 0 / 0.6422 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1747, allocations: 7.922 kB / 0.6422 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.1771, allocations: 0.7404 MB / 0.6429 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1771, allocations: 4 kB / 0.6429 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.1771, allocations: 3.938 kB / 0.6429 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1772, allocations: 4 kB / 0.6429 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.1772, allocations: 27.91 kB / 0.6429 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1772, allocations: 0 / 0.6429 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1772, allocations: 0 / 0.6429 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.1791, allocations: 481.9 kB / 0.6434 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.1794, allocations: 192.5 kB / 0.6436 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.1795, allocations: 19.98 kB / 0.6436 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.18, allocations: 31.97 kB / 0.6436 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.18, allocations: 11.97 kB / 0.6436 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.1801, allocations: 55.98 kB / 0.6437 GB, free: 8.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.1804, allocations: 295.1 kB / 0.644 GB, free: 8.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1804, allocations: 0 / 0.644 GB, free: 8.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.1808, allocations: 63.98 kB / 0.644 GB, free: 8.359 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.0001621/0.181, allocations: 127 kB / 0.6442 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.1824, allocations: 438.5 kB / 0.6446 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1824, allocations: 0 / 0.6446 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000845/0.1832, allocations: 120.2 kB / 0.6447 GB, free: 7.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1836, allocations: 39.92 kB / 0.6447 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1852, allocations: 0.5805 MB / 0.6453 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1856, allocations: 0.7706 MB / 0.646 GB, free: 6.203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.1856, allocations: 15.42 kB / 0.6461 GB, free: 6.188 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1856, allocations: 0 / 0.6461 GB, free: 6.188 MB / 494.1 MB Notification: Performance of Templates: time 0.006522/0.1921, allocations: 3.67 MB / 0.6496 GB, free: 2.465 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)