Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001457, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002086/0.002086, allocations: 195.7 kB / 16.14 MB, free: 6.672 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 282.6 kB / 290.2 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9189/0.9189, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 94.06 kB / 0.5945 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.157, allocations: 86.98 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002995/0.16, allocations: 1.542 MB / 0.6809 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1611, allocations: 451 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.1612, allocations: 0 / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.1614, allocations: 7.938 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.1615, allocations: 20.28 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.1622, allocations: 228.5 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.1625, allocations: 303.8 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.1626, allocations: 7.984 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.1629, allocations: 218.3 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1631, allocations: 131.6 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.1632, allocations: 12 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.1632, allocations: 8 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1633, allocations: 75.72 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1635, allocations: 123.4 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1638, allocations: 295.2 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1639, allocations: 3.938 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1639, allocations: 0 / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1639, allocations: 0 / 0.6827 GB, free: 13.8 MB / 494.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.001163/0.165, allocations: 0.7422 MB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1651, allocations: 8.031 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1652, allocations: 35.61 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1655, allocations: 262.3 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.1655, allocations: 12 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.1656, allocations: 16 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1666, allocations: 209.4 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1666, allocations: 3.938 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.1667, allocations: 4 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1667, allocations: 0 / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.1675, allocations: 91.92 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.1678, allocations: 329.2 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1689, allocations: 178.4 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007859/0.1697, allocations: 108.8 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1697, allocations: 4 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009635/0.1707, allocations: 207.1 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.1707, allocations: 0 / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002514/0.1732, allocations: 463.1 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.1733, allocations: 55.41 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.1736, allocations: 291 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.1737, allocations: 41.69 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.1738, allocations: 89.14 kB / 0.6858 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1738, allocations: 39.45 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.174, allocations: 101.5 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1741, allocations: 322.8 kB / 0.6862 GB, free: 10 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1743, allocations: 87.88 kB / 0.6863 GB, free: 9.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1746, allocations: 135.1 kB / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.1749, allocations: 243.1 kB / 0.6866 GB, free: 9.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1749, allocations: 0 / 0.6866 GB, free: 9.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006516/0.1756, allocations: 384.7 kB / 0.687 GB, free: 9.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.1757, allocations: 79.33 kB / 0.6871 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1757, allocations: 4 kB / 0.6871 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1757, allocations: 3.938 kB / 0.6871 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.1759, allocations: 27.91 kB / 0.6871 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1759, allocations: 4.188 kB / 0.6871 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.1764, allocations: 63.7 kB / 0.6872 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.1765, allocations: 39.98 kB / 0.6872 GB, free: 8.867 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.000165/0.1766, allocations: 168.7 kB / 0.6874 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.1767, allocations: 31.59 kB / 0.6874 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.1768, allocations: 30.3 kB / 0.6874 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1768, allocations: 4 kB / 0.6875 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1768, allocations: 3.984 kB / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1768, allocations: 0 / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.1788, allocations: 0.6894 MB / 0.6881 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1788, allocations: 0 / 0.6881 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.1789, allocations: 7.984 kB / 0.6881 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1789, allocations: 0 / 0.6881 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.1789, allocations: 15.98 kB / 0.6882 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.1789, allocations: 4 kB / 0.6882 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.179, allocations: 0 / 0.6882 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.1806, allocations: 453.2 kB / 0.6886 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1808, allocations: 156.7 kB / 0.6887 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.1809, allocations: 19.92 kB / 0.6888 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.1813, allocations: 31.97 kB / 0.6888 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.1814, allocations: 11.98 kB / 0.6888 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.1814, allocations: 43.97 kB / 0.6888 GB, free: 7.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.1816, allocations: 205.9 kB / 0.689 GB, free: 6.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1816, allocations: 0 / 0.689 GB, free: 6.914 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.1819, allocations: 51.98 kB / 0.6891 GB, free: 6.863 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.0001478/0.1821, allocations: 123.9 kB / 0.6892 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1832, allocations: 378.5 kB / 0.6896 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1832, allocations: 0 / 0.6896 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.184, allocations: 111.9 kB / 0.6897 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1843, allocations: 38.7 kB / 0.6897 GB, free: 6.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1856, allocations: 0.4935 MB / 0.6902 GB, free: 5.676 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1859, allocations: 0.7473 MB / 0.6909 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.186, allocations: 17.08 kB / 0.6909 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.1861, allocations: 15.44 kB / 0.691 GB, free: 4.875 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1861, allocations: 0 / 0.691 GB, free: 4.875 MB / 494.1 MB Notification: Performance of Templates: time 0.006801/0.1929, allocations: 3.587 MB / 0.6945 GB, free: 1.316 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)