Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001016/0.001016, allocations: 108 kB / 15.61 MB, free: 152 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.001044/0.001044, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001948/0.001948, allocations: 286.5 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9383/0.9383, allocations: 169.2 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 99.92 kB / 0.5952 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1808, allocations: 86.98 MB / 0.6802 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002505/0.1833, allocations: 1.483 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.1842, allocations: 427.3 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.1843, allocations: 0 / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.735e-05/0.1844, allocations: 8.531 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.471e-05/0.1845, allocations: 24.94 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.1852, allocations: 248.3 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.1855, allocations: 327.5 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.1856, allocations: 7.984 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1858, allocations: 199.7 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.186, allocations: 104 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.1861, allocations: 20 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.1862, allocations: 20 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1863, allocations: 87.77 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1864, allocations: 123.4 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1868, allocations: 299.4 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1868, allocations: 7.938 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1868, allocations: 0 / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1868, allocations: 0 / 0.6834 GB, free: 13.36 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.0009937/0.1878, allocations: 0.7307 MB / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1878, allocations: 8.031 kB / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.1879, allocations: 40.55 kB / 0.6842 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1882, allocations: 263.5 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.1883, allocations: 20.36 kB / 0.6845 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/0.1883, allocations: 19.94 kB / 0.6845 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/0.1893, allocations: 200.4 kB / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1893, allocations: 0 / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1893, allocations: 4 kB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1893, allocations: 11.92 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.1901, allocations: 95.92 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1904, allocations: 325.3 kB / 0.6851 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/0.1914, allocations: 174.3 kB / 0.6853 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.1922, allocations: 104.8 kB / 0.6854 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1922, allocations: 7.984 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009017/0.1931, allocations: 207.2 kB / 0.6856 GB, free: 10.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.1931, allocations: 0 / 0.6856 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002382/0.1955, allocations: 454.7 kB / 0.686 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1956, allocations: 59.39 kB / 0.6861 GB, free: 10.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1958, allocations: 291 kB / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.1959, allocations: 41.62 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.196, allocations: 89.14 kB / 0.6865 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.196, allocations: 47.44 kB / 0.6865 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1962, allocations: 97.48 kB / 0.6866 GB, free: 9.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1963, allocations: 322.8 kB / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1965, allocations: 87.88 kB / 0.687 GB, free: 9.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1967, allocations: 134.6 kB / 0.6871 GB, free: 9.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.197, allocations: 238.2 kB / 0.6873 GB, free: 9.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.197, allocations: 3.938 kB / 0.6873 GB, free: 9.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006283/0.1977, allocations: 390.7 kB / 0.6877 GB, free: 8.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.1977, allocations: 75.39 kB / 0.6878 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1977, allocations: 4 kB / 0.6878 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1978, allocations: 4 kB / 0.6878 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1979, allocations: 23.91 kB / 0.6878 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1979, allocations: 4 kB / 0.6878 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.1984, allocations: 59.8 kB / 0.6879 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.1985, allocations: 51.92 kB / 0.6879 GB, free: 8.426 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.000168/0.1987, allocations: 168.6 kB / 0.6881 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.1987, allocations: 23.72 kB / 0.6881 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1988, allocations: 30.3 kB / 0.6881 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1988, allocations: 0 / 0.6881 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1988, allocations: 0 / 0.6881 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1988, allocations: 3.984 kB / 0.6881 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.2008, allocations: 0.6898 MB / 0.6888 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2008, allocations: 0 / 0.6888 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.2009, allocations: 4 kB / 0.6888 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2009, allocations: 7.984 kB / 0.6888 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.2009, allocations: 19.98 kB / 0.6888 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2009, allocations: 0 / 0.6888 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2009, allocations: 0 / 0.6888 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.2026, allocations: 464.9 kB / 0.6893 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.2028, allocations: 152.7 kB / 0.6894 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.2029, allocations: 15.98 kB / 0.6895 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.2033, allocations: 31.97 kB / 0.6895 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.2034, allocations: 7.984 kB / 0.6895 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.2034, allocations: 51.91 kB / 0.6895 GB, free: 6.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.2036, allocations: 205.9 kB / 0.6897 GB, free: 6.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2036, allocations: 4 kB / 0.6897 GB, free: 6.469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.2039, allocations: 47.98 kB / 0.6898 GB, free: 6.422 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.0001346/0.2041, allocations: 116 kB / 0.6899 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.2052, allocations: 390.8 kB / 0.6903 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2053, allocations: 4.062 kB / 0.6903 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.206, allocations: 111.9 kB / 0.6904 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.2064, allocations: 24.94 kB / 0.6904 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.2076, allocations: 435.6 kB / 0.6908 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2079, allocations: 0.7435 MB / 0.6915 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.208, allocations: 13.08 kB / 0.6916 GB, free: 4.527 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.208, allocations: 11.44 kB / 0.6916 GB, free: 4.516 MB / 494.1 MB Notification: Performance of SimCode: time 2.044e-06/0.208, allocations: 0 / 0.6916 GB, free: 4.516 MB / 494.1 MB Notification: Performance of Templates: time 0.006282/0.2143, allocations: 3.66 MB / 0.6951 GB, free: 0.8906 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)