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.0008171/0.0008171, allocations: 93.25 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 170.2 kB / 16.58 MB, free: 6.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.367/1.367, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6862/0.6862, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 12.2 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001563/0.1442, allocations: 1.213 MB / 0.5605 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1453, allocations: 0.529 MB / 0.561 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.1454, allocations: 0 / 0.561 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.522e-05/0.1455, allocations: 3.938 kB / 0.561 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.612e-05/0.1456, allocations: 19.92 kB / 0.561 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.1464, allocations: 266.5 kB / 0.5613 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.1468, allocations: 379.4 kB / 0.5617 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.1469, allocations: 11.98 kB / 0.5617 GB, free: 7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.1474, allocations: 319.4 kB / 0.562 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.1477, allocations: 191.6 kB / 0.5622 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.1478, allocations: 12 kB / 0.5622 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.1478, allocations: 12 kB / 0.5622 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.148, allocations: 119.7 kB / 0.5623 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.1481, allocations: 93.52 kB / 0.5624 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.1484, allocations: 311.6 kB / 0.5627 GB, free: 5.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1484, allocations: 4 kB / 0.5627 GB, free: 5.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1484, allocations: 4 kB / 0.5627 GB, free: 5.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1484, allocations: 0 / 0.5627 GB, free: 5.949 MB / 430.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.001044/0.1495, allocations: 0.7535 MB / 0.5634 GB, free: 5.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1495, allocations: 8.031 kB / 0.5634 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.1497, allocations: 51.53 kB / 0.5635 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.1501, allocations: 293.3 kB / 0.5638 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.1501, allocations: 15.98 kB / 0.5638 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.1502, allocations: 31.98 kB / 0.5638 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.1512, allocations: 217.4 kB / 0.564 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1512, allocations: 3.953 kB / 0.564 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.1512, allocations: 8 kB / 0.564 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1512, allocations: 4 kB / 0.564 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.152, allocations: 107.9 kB / 0.5641 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1524, allocations: 389.2 kB / 0.5645 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.1534, allocations: 190.5 kB / 0.5647 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.1541, allocations: 116.8 kB / 0.5648 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1541, allocations: 3.984 kB / 0.5648 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/0.155, allocations: 243 kB / 0.565 GB, free: 3.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.155, allocations: 0 / 0.565 GB, free: 3.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.00246/0.1575, allocations: 0.5086 MB / 0.5655 GB, free: 2.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1576, allocations: 55.41 kB / 0.5656 GB, free: 2.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.158, allocations: 413.8 kB / 0.566 GB, free: 2.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/0.1581, allocations: 41.69 kB / 0.566 GB, free: 2.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.1582, allocations: 97.44 kB / 0.5661 GB, free: 2.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1583, allocations: 35.55 kB / 0.5661 GB, free: 2.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.1583, allocations: 12 kB / 0.5661 GB, free: 2.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1584, allocations: 322.8 kB / 0.5665 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.1587, allocations: 115.9 kB / 0.5666 GB, free: 1.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.159, allocations: 173.9 kB / 0.5667 GB, free: 1.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.1594, allocations: 187.4 kB / 0.5669 GB, free: 1.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1594, allocations: 0 / 0.5669 GB, free: 1.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008417/0.1602, allocations: 0.4906 MB / 0.5674 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.1603, allocations: 87.38 kB / 0.5675 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1603, allocations: 7.938 kB / 0.5675 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1603, allocations: 4 kB / 0.5675 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1605, allocations: 15.98 kB / 0.5675 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1605, allocations: 7.938 kB / 0.5675 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.161, allocations: 75.91 kB / 0.5676 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/0.1611, allocations: 67.94 kB / 0.5676 GB, free: 0.5547 MB / 430.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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0002215/0.1614, allocations: 189.5 kB / 0.5678 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.1614, allocations: 35.53 kB / 0.5679 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.1615, allocations: 47.73 kB / 0.5679 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1615, allocations: 4 kB / 0.5679 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1615, allocations: 4 kB / 0.5679 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1615, allocations: 0 / 0.5679 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.1637, allocations: 0.7619 MB / 0.5687 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1637, allocations: 0 / 0.5687 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.1638, allocations: 7.984 kB / 0.5687 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1638, allocations: 8 kB / 0.5687 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.1638, allocations: 15.98 kB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1638, allocations: 7.922 kB / 0.5687 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1638, allocations: 3.953 kB / 0.5687 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.1655, allocations: 486.8 kB / 0.5692 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.1657, allocations: 200.5 kB / 0.5694 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.1658, allocations: 15.98 kB / 0.5694 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.1663, allocations: 31.97 kB / 0.5694 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1663, allocations: 15.92 kB / 0.5694 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.1664, allocations: 63.92 kB / 0.5695 GB, free: 14.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.1667, allocations: 291.1 kB / 0.5698 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1667, allocations: 0 / 0.5698 GB, free: 14.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.1671, allocations: 63.94 kB / 0.5698 GB, free: 14.23 MB / 446.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 (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.0001516/0.1672, allocations: 123.2 kB / 0.5699 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.1685, allocations: 456 kB / 0.5704 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1686, allocations: 0 / 0.5704 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007305/0.1693, allocations: 127.9 kB / 0.5705 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1697, allocations: 29.92 kB / 0.5705 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1713, allocations: 0.6541 MB / 0.5712 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1717, allocations: 0.7709 MB / 0.5719 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.1717, allocations: 21.06 kB / 0.5719 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.1718, allocations: 19.44 kB / 0.5719 GB, free: 11.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1718, allocations: 0 / 0.5719 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Templates: time 0.008946/0.1808, allocations: 4.822 MB / 0.5767 GB, free: 7.062 MB / 446.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)