Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009465/0.0009464, allocations: 92.95 kB / 16.02 MB, free: 84 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.001271/0.001271, allocations: 176.8 kB / 16.91 MB, free: 6.645 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7214/0.7214, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003335, allocations: 8 kB / 495.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002017/0.161, allocations: 1.229 MB / 0.5612 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1626, allocations: 0.5889 MB / 0.5618 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.1627, allocations: 4 kB / 0.5618 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.485e-05/0.1628, allocations: 3.938 kB / 0.5618 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.163, allocations: 19.92 kB / 0.5618 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009114/0.1639, allocations: 290.3 kB / 0.5621 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.1646, allocations: 451.4 kB / 0.5625 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.812e-05/0.1646, allocations: 7.984 kB / 0.5626 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.1652, allocations: 315 kB / 0.5629 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.1656, allocations: 155.4 kB / 0.563 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.875e-05/0.1657, allocations: 16 kB / 0.563 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.1658, allocations: 12 kB / 0.563 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.166, allocations: 115.5 kB / 0.5631 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.1662, allocations: 204.7 kB / 0.5633 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.1667, allocations: 418.6 kB / 0.5637 GB, free: 5.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1667, allocations: 0 / 0.5637 GB, free: 5.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1667, allocations: 4 kB / 0.5637 GB, free: 5.137 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1668, allocations: 0 / 0.5637 GB, free: 5.137 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.001439/0.1682, allocations: 0.7555 MB / 0.5645 GB, free: 4.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1683, allocations: 8.031 kB / 0.5645 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.1683, allocations: 34.75 kB / 0.5645 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.1685, allocations: 52.45 kB / 0.5646 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.1691, allocations: 314.2 kB / 0.5649 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/0.1691, allocations: 16.38 kB / 0.5649 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1693, allocations: 24.36 kB / 0.5649 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.1703, allocations: 233.9 kB / 0.5651 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1703, allocations: 3.938 kB / 0.5651 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1704, allocations: 0 / 0.5651 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1704, allocations: 0 / 0.5651 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.1712, allocations: 115.9 kB / 0.5652 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.1718, allocations: 389.2 kB / 0.5656 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1729, allocations: 194.5 kB / 0.5658 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.1737, allocations: 120.8 kB / 0.5659 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1738, allocations: 0 / 0.5659 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.1748, allocations: 247 kB / 0.5661 GB, free: 2.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.1748, allocations: 0 / 0.5661 GB, free: 2.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002689/0.1775, allocations: 0.4988 MB / 0.5666 GB, free: 1.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.1776, allocations: 67.39 kB / 0.5667 GB, free: 1.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.1781, allocations: 409.9 kB / 0.5671 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.1782, allocations: 49.62 kB / 0.5671 GB, free: 1.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.1783, allocations: 89.45 kB / 0.5672 GB, free: 1.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.1784, allocations: 43.5 kB / 0.5673 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.1785, allocations: 41.62 kB / 0.5673 GB, free: 1.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1786, allocations: 322.8 kB / 0.5676 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1789, allocations: 115.9 kB / 0.5677 GB, free: 0.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.1792, allocations: 179.4 kB / 0.5679 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1796, allocations: 269.3 kB / 0.5681 GB, free: 308 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1796, allocations: 4 kB / 0.5682 GB, free: 304 kB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009371/0.1805, allocations: 494.7 kB / 0.5686 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.1806, allocations: 91.31 kB / 0.5687 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1806, allocations: 0 / 0.5687 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1807, allocations: 4 kB / 0.5687 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1808, allocations: 23.92 kB / 0.5687 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1808, allocations: 3.984 kB / 0.5687 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.1814, allocations: 71.98 kB / 0.5688 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.1815, allocations: 59.98 kB / 0.5689 GB, free: 15.54 MB / 446.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.0002307/0.1817, allocations: 196 kB / 0.5691 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.1818, allocations: 47.45 kB / 0.5691 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.1819, allocations: 39.75 kB / 0.5691 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1819, allocations: 0 / 0.5691 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1819, allocations: 0 / 0.5691 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1819, allocations: 4 kB / 0.5691 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.1842, allocations: 0.7674 MB / 0.5699 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1842, allocations: 0 / 0.5699 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.1842, allocations: 8 kB / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1842, allocations: 0 / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.1843, allocations: 23.97 kB / 0.5699 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1843, allocations: 0 / 0.5699 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1843, allocations: 4 kB / 0.5699 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.1861, allocations: 496 kB / 0.5704 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.1865, allocations: 204.4 kB / 0.5706 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.1866, allocations: 12 kB / 0.5706 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.1871, allocations: 31.97 kB / 0.5706 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.1871, allocations: 7.984 kB / 0.5706 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.1872, allocations: 63.97 kB / 0.5707 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004143/0.1876, allocations: 295 kB / 0.571 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1877, allocations: 4 kB / 0.571 GB, free: 13.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.1881, allocations: 67.98 kB / 0.5711 GB, free: 13.2 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 (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.002234/0.1903, allocations: 1.033 MB / 0.5721 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.1916, allocations: 460.4 kB / 0.5725 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1916, allocations: 0 / 0.5725 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008011/0.1925, allocations: 132.2 kB / 0.5726 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1928, allocations: 25.55 kB / 0.5727 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.1976, allocations: 2.903 MB / 0.5755 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.198, allocations: 0.7748 MB / 0.5762 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.1981, allocations: 17.08 kB / 0.5763 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.1982, allocations: 27.42 kB / 0.5763 GB, free: 7.633 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1982, allocations: 0 / 0.5763 GB, free: 7.633 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.2159, allocations: 5.915 MB / 0.5821 GB, free: 1.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.2161, allocations: 200.9 kB / 0.5823 GB, free: 1.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.133, allocations: 0 / 0.5823 GB, free: 1.516 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)