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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",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.001142/0.001142, 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.001128/0.001128, allocations: 195.5 kB / 16.53 MB, free: 6.699 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 / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002447/0.002447, allocations: 283.1 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001939, allocations: 103.1 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1655, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.003539/0.1691, allocations: 1.485 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1703, allocations: 420.1 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.1704, allocations: 4.531 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.1705, allocations: 4.656 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1707, allocations: 36.16 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.1714, allocations: 247.8 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.1718, allocations: 323.5 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.1718, allocations: 8.266 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.1722, allocations: 203.7 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1725, allocations: 104 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.612e-05/0.1726, allocations: 20 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.1727, allocations: 24 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1728, allocations: 87.75 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.173, allocations: 127.4 kB / 0.6833 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.1734, allocations: 291 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1734, allocations: 0 / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1734, allocations: 0 / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.1735, allocations: 4 kB / 0.6835 GB, free: 13.27 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.001101/0.1746, allocations: 0.7307 MB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1746, allocations: 16.02 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.1747, allocations: 38.75 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.1748, allocations: 32.56 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.1751, allocations: 263.5 kB / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.1751, allocations: 20.11 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.1752, allocations: 20 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.1762, allocations: 197.5 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1762, allocations: 4 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1762, allocations: 3.984 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1762, allocations: 0 / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.177, allocations: 103.8 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1774, allocations: 321.3 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1784, allocations: 178.3 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/0.1791, allocations: 104.8 kB / 0.6855 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1792, allocations: 0 / 0.6855 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008906/0.1801, allocations: 219.1 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1801, allocations: 0 / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002365/0.1824, allocations: 451.4 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1825, allocations: 67.33 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1827, allocations: 287 kB / 0.6865 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.1828, allocations: 41.7 kB / 0.6865 GB, free: 9.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1829, allocations: 97.03 kB / 0.6866 GB, free: 9.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.1829, allocations: 31.55 kB / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.1831, allocations: 105.5 kB / 0.6867 GB, free: 9.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1832, allocations: 322.8 kB / 0.687 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1834, allocations: 79.89 kB / 0.6871 GB, free: 9.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1836, allocations: 138.6 kB / 0.6873 GB, free: 9.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.1839, allocations: 246.2 kB / 0.6875 GB, free: 8.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1839, allocations: 4 kB / 0.6875 GB, free: 8.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006017/0.1845, allocations: 390.5 kB / 0.6879 GB, free: 8.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/0.1846, allocations: 71.39 kB / 0.6879 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1846, allocations: 0 / 0.6879 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1846, allocations: 4 kB / 0.6879 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1848, allocations: 27.92 kB / 0.688 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1848, allocations: 3.984 kB / 0.688 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.1852, allocations: 67.92 kB / 0.688 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.1853, allocations: 32 kB / 0.6881 GB, free: 8.289 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.0001611/0.1855, allocations: 176.6 kB / 0.6882 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.1855, allocations: 23.72 kB / 0.6883 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1856, allocations: 26.3 kB / 0.6883 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1856, allocations: 8 kB / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1856, allocations: 4 kB / 0.6883 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1856, allocations: 0 / 0.6883 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.1875, allocations: 0.6972 MB / 0.689 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1875, allocations: 0 / 0.689 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.1876, allocations: 4 kB / 0.689 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1876, allocations: 0 / 0.689 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.1876, allocations: 15.97 kB / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1876, allocations: 4 kB / 0.689 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1876, allocations: 0 / 0.689 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.1892, allocations: 453.2 kB / 0.6894 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.1893, allocations: 164.7 kB / 0.6896 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.1894, allocations: 15.98 kB / 0.6896 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.1899, allocations: 31.97 kB / 0.6896 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.1899, allocations: 15.92 kB / 0.6896 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.1899, allocations: 35.98 kB / 0.6897 GB, free: 6.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1901, allocations: 209.9 kB / 0.6899 GB, free: 6.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1901, allocations: 0 / 0.6899 GB, free: 6.328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1904, allocations: 55.98 kB / 0.6899 GB, free: 6.273 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.001838/0.1923, allocations: 0.9938 MB / 0.6909 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1933, allocations: 379.9 kB / 0.6913 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1934, allocations: 0 / 0.6913 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.1941, allocations: 123.8 kB / 0.6914 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1944, allocations: 31.27 kB / 0.6914 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.1975, allocations: 2.352 MB / 0.6937 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1978, allocations: 0.7435 MB / 0.6944 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.1979, allocations: 13.09 kB / 0.6945 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.1979, allocations: 19.42 kB / 0.6945 GB, free: 1.426 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1979, allocations: 0 / 0.6945 GB, free: 1.426 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07039/0.2683, allocations: 4.803 MB / 0.6992 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.631, allocations: 22 kB / 0.6992 GB, free: 12.73 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)