Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001104, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00107/0.00107, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 271.1 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9533/0.9533, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 90.09 kB / 0.5947 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1724, allocations: 86.99 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002712/0.1751, allocations: 1.551 MB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.176, allocations: 418.7 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.1761, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.838e-05/0.1762, allocations: 4.469 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.047e-05/0.1763, allocations: 21.41 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.1769, allocations: 231.4 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.1772, allocations: 335.8 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.1773, allocations: 7.984 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.1777, allocations: 242.3 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1779, allocations: 127.6 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.1779, allocations: 20 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-05/0.178, allocations: 20 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1782, allocations: 91.7 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1783, allocations: 131.3 kB / 0.6827 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1786, allocations: 303.3 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1786, allocations: 0 / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1786, allocations: 0 / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1786, allocations: 0 / 0.683 GB, free: 13.62 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.001002/0.1796, allocations: 0.7305 MB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1797, allocations: 19.97 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.1798, allocations: 31.62 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.18, allocations: 270.3 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.1801, allocations: 15.98 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.1802, allocations: 16 kB / 0.684 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.1811, allocations: 197.5 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1812, allocations: 7.938 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.1812, allocations: 11.98 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1812, allocations: 0 / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.182, allocations: 95.86 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1823, allocations: 313.4 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1834, allocations: 178.4 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.1841, allocations: 104.8 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1841, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009417/0.1851, allocations: 215.1 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.1851, allocations: 0 / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002522/0.1876, allocations: 459.1 kB / 0.6856 GB, free: 10.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1876, allocations: 59.39 kB / 0.6856 GB, free: 10.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1879, allocations: 287 kB / 0.6859 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.188, allocations: 41.64 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.1881, allocations: 97.12 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.1881, allocations: 39.45 kB / 0.6861 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1883, allocations: 101.5 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1884, allocations: 318.8 kB / 0.6865 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.1886, allocations: 87.89 kB / 0.6865 GB, free: 9.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.1888, allocations: 139.3 kB / 0.6867 GB, free: 9.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1891, allocations: 239.1 kB / 0.6869 GB, free: 9.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1891, allocations: 4 kB / 0.6869 GB, free: 9.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000605/0.1897, allocations: 386.6 kB / 0.6873 GB, free: 8.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.1898, allocations: 79.33 kB / 0.6874 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1898, allocations: 0 / 0.6874 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1898, allocations: 4 kB / 0.6874 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.19, allocations: 23.92 kB / 0.6874 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.19, allocations: 3.984 kB / 0.6874 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.1905, allocations: 67.84 kB / 0.6874 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.1906, allocations: 39.98 kB / 0.6875 GB, free: 8.688 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.0002273/0.1908, allocations: 172.6 kB / 0.6876 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.1909, allocations: 27.66 kB / 0.6877 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.1909, allocations: 30.28 kB / 0.6877 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1909, allocations: 8 kB / 0.6877 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.191, allocations: 0 / 0.6877 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.191, allocations: 0 / 0.6877 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.193, allocations: 0.6933 MB / 0.6884 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.193, allocations: 0 / 0.6884 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.193, allocations: 4 kB / 0.6884 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.193, allocations: 0 / 0.6884 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.1931, allocations: 19.97 kB / 0.6884 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1931, allocations: 4 kB / 0.6884 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1931, allocations: 7.938 kB / 0.6884 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.1947, allocations: 449.3 kB / 0.6889 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.1949, allocations: 156.7 kB / 0.689 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.195, allocations: 15.98 kB / 0.689 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.1954, allocations: 23.97 kB / 0.689 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1955, allocations: 19.98 kB / 0.6891 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.1955, allocations: 39.92 kB / 0.6891 GB, free: 6.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1957, allocations: 209.9 kB / 0.6893 GB, free: 6.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1957, allocations: 0 / 0.6893 GB, free: 6.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000312/0.196, allocations: 48 kB / 0.6893 GB, free: 6.684 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.0001296/0.1962, allocations: 119.2 kB / 0.6895 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.1973, allocations: 390.8 kB / 0.6898 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1973, allocations: 3.938 kB / 0.6898 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.198, allocations: 115.9 kB / 0.6899 GB, free: 6.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1984, allocations: 31.05 kB / 0.69 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1996, allocations: 0.4996 MB / 0.6905 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.2, allocations: 0.7407 MB / 0.6912 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.2001, allocations: 13.09 kB / 0.6912 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.2001, allocations: 19.42 kB / 0.6912 GB, free: 4.684 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.2001, allocations: 0 / 0.6912 GB, free: 4.684 MB / 494.1 MB Notification: Performance of Templates: time 0.006489/0.2066, allocations: 3.721 MB / 0.6948 GB, free: 0.9961 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)