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.001116/0.001116, allocations: 108.7 kB / 17.08 MB, free: 6.016 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.00125/0.00125, allocations: 195 kB / 18.01 MB, free: 5.098 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6933/0.6933, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 65.8 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1372, allocations: 76.18 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002706/0.14, allocations: 1.497 MB / 0.6342 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1413, allocations: 0.5499 MB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.1414, allocations: 0 / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.1415, allocations: 3.938 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.1417, allocations: 35.72 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.1425, allocations: 310.3 kB / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.1431, allocations: 0.5072 MB / 0.6355 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.1432, allocations: 12 kB / 0.6355 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.1436, allocations: 275.6 kB / 0.6358 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.144, allocations: 147.4 kB / 0.6359 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.886e-05/0.1441, allocations: 24 kB / 0.636 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.1441, allocations: 28 kB / 0.636 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1443, allocations: 115.6 kB / 0.6361 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.1445, allocations: 183.1 kB / 0.6363 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1449, allocations: 422.6 kB / 0.6367 GB, free: 368 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1449, allocations: 4 kB / 0.6367 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1449, allocations: 0 / 0.6367 GB, free: 364 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.145, allocations: 0 / 0.6367 GB, free: 364 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.001259/0.1462, allocations: 0.8664 MB / 0.6375 GB, free: 15.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1463, allocations: 12.03 kB / 0.6375 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1464, allocations: 48.47 kB / 0.6376 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1468, allocations: 314.2 kB / 0.6379 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.1468, allocations: 16.36 kB / 0.6379 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.1469, allocations: 32.36 kB / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.148, allocations: 206 kB / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.148, allocations: 192 / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.148, allocations: 11.92 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.148, allocations: 0 / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.1488, allocations: 106.3 kB / 0.6382 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1493, allocations: 381.2 kB / 0.6386 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1504, allocations: 182.4 kB / 0.6388 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.1511, allocations: 117.1 kB / 0.6389 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1512, allocations: 0 / 0.6389 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.1522, allocations: 227.1 kB / 0.6391 GB, free: 13.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.1522, allocations: 0 / 0.6391 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002626/0.1548, allocations: 495.2 kB / 0.6396 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1549, allocations: 59.34 kB / 0.6396 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.1553, allocations: 413.9 kB / 0.64 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.1554, allocations: 37.7 kB / 0.6401 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1555, allocations: 97.44 kB / 0.6402 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.1555, allocations: 39.44 kB / 0.6402 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.1557, allocations: 133.2 kB / 0.6403 GB, free: 12.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1559, allocations: 322.8 kB / 0.6406 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1561, allocations: 115.9 kB / 0.6408 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1564, allocations: 178.2 kB / 0.6409 GB, free: 11.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1568, allocations: 283.1 kB / 0.6412 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1568, allocations: 0 / 0.6412 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007894/0.1576, allocations: 492.8 kB / 0.6417 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.942e-05/0.1577, allocations: 91.31 kB / 0.6417 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1577, allocations: 4 kB / 0.6418 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1577, allocations: 0 / 0.6418 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1579, allocations: 31.91 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1579, allocations: 4 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.1584, allocations: 51.86 kB / 0.6418 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.1585, allocations: 59.98 kB / 0.6419 GB, free: 10.68 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.0002268/0.1588, allocations: 200 kB / 0.6421 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.1589, allocations: 43.45 kB / 0.6421 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.1589, allocations: 35.75 kB / 0.6422 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1589, allocations: 4 kB / 0.6422 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1589, allocations: 0 / 0.6422 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.159, allocations: 0 / 0.6422 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.1612, allocations: 0.752 MB / 0.6429 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1612, allocations: 4 kB / 0.6429 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.1612, allocations: 0 / 0.6429 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1612, allocations: 4 kB / 0.6429 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.1613, allocations: 23.97 kB / 0.6429 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1613, allocations: 0 / 0.6429 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1613, allocations: 4 kB / 0.6429 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.1631, allocations: 479.1 kB / 0.6434 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.1633, allocations: 196.5 kB / 0.6436 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.1634, allocations: 16 kB / 0.6436 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.1639, allocations: 27.97 kB / 0.6436 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.1639, allocations: 7.984 kB / 0.6436 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.164, allocations: 59.97 kB / 0.6437 GB, free: 8.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.1643, allocations: 295.1 kB / 0.644 GB, free: 8.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1643, allocations: 0 / 0.644 GB, free: 8.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1647, allocations: 63.98 kB / 0.644 GB, free: 8.398 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.0001403/0.1648, allocations: 127.1 kB / 0.6441 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.1661, allocations: 440.9 kB / 0.6446 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1662, allocations: 0 / 0.6446 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007986/0.167, allocations: 124.2 kB / 0.6447 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1673, allocations: 31.62 kB / 0.6447 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1688, allocations: 0.5805 MB / 0.6453 GB, free: 7.043 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.1692, allocations: 0.7745 MB / 0.646 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.1692, allocations: 23.38 kB / 0.6461 GB, free: 6.219 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1692, allocations: 0 / 0.6461 GB, free: 6.219 MB / 494.1 MB Notification: Performance of Templates: time 0.005891/0.1751, allocations: 3.676 MB / 0.6497 GB, free: 2.492 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)