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.0007377/0.0007378, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005309/0.005309, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 266.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9909/0.9909, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004255, allocations: 15.97 kB / 0.5987 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001749/0.1783, allocations: 1.202 MB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1793, allocations: 435.9 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.1794, allocations: 0 / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1795, allocations: 7.938 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.1796, allocations: 21.47 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.1802, allocations: 228.7 kB / 0.687 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.1805, allocations: 299.9 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.1805, allocations: 17.3 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1808, allocations: 214.3 kB / 0.6875 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.181, allocations: 123.6 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.1811, allocations: 13.5 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.457e-05/0.1812, allocations: 8 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1813, allocations: 79.72 kB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1814, allocations: 145.1 kB / 0.6878 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1817, allocations: 294.2 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1817, allocations: 0 / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1817, allocations: 4 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1817, allocations: 3.938 kB / 0.6881 GB, free: 12.02 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.0008633/0.1826, allocations: 0.6526 MB / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1827, allocations: 12.47 kB / 0.6888 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.1828, allocations: 32.22 kB / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.183, allocations: 262.3 kB / 0.689 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.1831, allocations: 12.81 kB / 0.6891 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.1831, allocations: 15.98 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.1841, allocations: 218.5 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1841, allocations: 3.938 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.1842, allocations: 4 kB / 0.6893 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1842, allocations: 0 / 0.6893 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/0.1849, allocations: 112.8 kB / 0.6894 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1853, allocations: 317.9 kB / 0.6897 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1864, allocations: 194.9 kB / 0.6899 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.1871, allocations: 118.8 kB / 0.69 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1872, allocations: 3.984 kB / 0.69 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009413/0.1881, allocations: 229.5 kB / 0.6902 GB, free: 9.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.1881, allocations: 0 / 0.6902 GB, free: 9.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002569/0.1907, allocations: 485 kB / 0.6907 GB, free: 9.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1908, allocations: 55.41 kB / 0.6907 GB, free: 9.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.191, allocations: 294.9 kB / 0.691 GB, free: 8.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.1911, allocations: 33.7 kB / 0.691 GB, free: 8.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.1912, allocations: 93.14 kB / 0.6911 GB, free: 8.699 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.1912, allocations: 35.55 kB / 0.6912 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.1913, allocations: 33.7 kB / 0.6912 GB, free: 8.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1915, allocations: 326.8 kB / 0.6915 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.1918, allocations: 83.94 kB / 0.6916 GB, free: 8.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.192, allocations: 135.8 kB / 0.6917 GB, free: 8.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1924, allocations: 246.9 kB / 0.692 GB, free: 7.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1924, allocations: 0 / 0.692 GB, free: 7.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00063/0.193, allocations: 394.9 kB / 0.6923 GB, free: 7.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1931, allocations: 75.52 kB / 0.6924 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1931, allocations: 8 kB / 0.6924 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1932, allocations: 7.984 kB / 0.6924 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1933, allocations: 19.92 kB / 0.6924 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1933, allocations: 4 kB / 0.6924 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.1938, allocations: 75.64 kB / 0.6925 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.1939, allocations: 43.98 kB / 0.6926 GB, free: 7.145 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.0002322/0.1941, allocations: 164.7 kB / 0.6927 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.1942, allocations: 31.64 kB / 0.6927 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.1942, allocations: 30.3 kB / 0.6928 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1943, allocations: 3.938 kB / 0.6928 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1943, allocations: 0 / 0.6928 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1943, allocations: 4 kB / 0.6928 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.1964, allocations: 0.7142 MB / 0.6935 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1964, allocations: 0 / 0.6935 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.1965, allocations: 7.984 kB / 0.6935 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1965, allocations: 0 / 0.6935 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.1965, allocations: 19.98 kB / 0.6935 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1965, allocations: 0 / 0.6935 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1965, allocations: 3.984 kB / 0.6935 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.1983, allocations: 470.9 kB / 0.694 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.1984, allocations: 160.7 kB / 0.6941 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.1985, allocations: 12 kB / 0.6941 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.199, allocations: 35.97 kB / 0.6942 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.199, allocations: 11.98 kB / 0.6942 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.1991, allocations: 43.91 kB / 0.6942 GB, free: 5.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1993, allocations: 209.9 kB / 0.6944 GB, free: 5.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1993, allocations: 4 kB / 0.6944 GB, free: 5.141 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.1997, allocations: 44 kB / 0.6945 GB, free: 5.098 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.0001652/0.1999, allocations: 116 kB / 0.6946 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.201, allocations: 395.4 kB / 0.6949 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2011, allocations: 0 / 0.6949 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.2018, allocations: 126.1 kB / 0.6951 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2022, allocations: 32.52 kB / 0.6951 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2036, allocations: 0.5144 MB / 0.6956 GB, free: 3.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2039, allocations: 0.7433 MB / 0.6963 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.204, allocations: 17.08 kB / 0.6963 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.204, allocations: 19.42 kB / 0.6964 GB, free: 3.07 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.204, allocations: 0 / 0.6964 GB, free: 3.07 MB / 494.1 MB Notification: Performance of Templates: time 0.006954/0.211, allocations: 3.568 MB / 0.6998 GB, free: 15.54 MB / 0.4981 GB 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)