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.001375/0.001375, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001399/0.001399, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 275.1 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9563/0.9563, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 89.64 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1624, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002474/0.1649, allocations: 1.551 MB / 0.6809 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008741/0.1658, allocations: 437.8 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.1659, allocations: 4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.743e-05/0.166, allocations: 11.86 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.1661, allocations: 24.22 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.1667, allocations: 222.1 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.1669, allocations: 299.9 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.167, allocations: 19.91 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.1673, allocations: 214.3 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1674, allocations: 119.6 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.1675, allocations: 15.98 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.1676, allocations: 8 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1677, allocations: 79.77 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.1679, allocations: 119.4 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1682, allocations: 299.3 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1682, allocations: 0 / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1682, allocations: 0 / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1682, 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.00106/0.1693, allocations: 0.7421 MB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1693, allocations: 8.031 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.1694, allocations: 35.62 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1697, allocations: 258.3 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.1698, allocations: 15.98 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.1698, allocations: 19.94 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1708, allocations: 204.1 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1709, allocations: 3.938 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.1709, allocations: 3.984 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.1709, allocations: 4 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.1718, allocations: 107.8 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1722, allocations: 313.3 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.1733, allocations: 170.5 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.1742, allocations: 108.8 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.1742, allocations: 4 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.1754, allocations: 211.1 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 5.721e-06/0.1754, allocations: 7.922 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002742/0.1781, allocations: 451.5 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.1782, allocations: 63.39 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.1786, allocations: 287 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.1787, allocations: 37.7 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1788, allocations: 93.12 kB / 0.6858 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.1789, allocations: 47.44 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.179, allocations: 97.48 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1792, allocations: 322.8 kB / 0.6862 GB, free: 10 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.1794, allocations: 83.89 kB / 0.6863 GB, free: 9.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1797, allocations: 139 kB / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.18, allocations: 242.9 kB / 0.6866 GB, free: 9.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.18, allocations: 0 / 0.6866 GB, free: 9.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006911/0.1807, allocations: 392.8 kB / 0.687 GB, free: 9.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/0.1808, allocations: 79.33 kB / 0.6871 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1809, allocations: 4 kB / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1809, allocations: 0 / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.1811, allocations: 27.97 kB / 0.6871 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.1811, allocations: 7.938 kB / 0.6871 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.1816, allocations: 59.8 kB / 0.6872 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.1817, allocations: 43.98 kB / 0.6872 GB, free: 8.859 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.0002372/0.182, allocations: 160.7 kB / 0.6874 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.182, allocations: 31.66 kB / 0.6874 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.1821, allocations: 26.3 kB / 0.6874 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1821, allocations: 7.938 kB / 0.6875 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1821, allocations: 0 / 0.6875 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1821, allocations: 3.984 kB / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.1844, allocations: 0.6856 MB / 0.6881 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1844, allocations: 0 / 0.6881 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.1845, allocations: 7.938 kB / 0.6881 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1845, allocations: 0 / 0.6881 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.1845, allocations: 23.97 kB / 0.6882 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1846, allocations: 3.938 kB / 0.6882 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1846, allocations: 0 / 0.6882 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.1863, allocations: 449 kB / 0.6886 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.1865, allocations: 164.7 kB / 0.6887 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.1866, allocations: 11.98 kB / 0.6888 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.187, allocations: 31.97 kB / 0.6888 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1871, allocations: 7.984 kB / 0.6888 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.1872, allocations: 39.98 kB / 0.6888 GB, free: 7.121 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1873, allocations: 209.9 kB / 0.689 GB, free: 6.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1874, allocations: 8 kB / 0.689 GB, free: 6.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.1877, allocations: 47.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.0001582/0.1879, allocations: 118.6 kB / 0.6892 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1891, allocations: 374.8 kB / 0.6896 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1891, allocations: 4.062 kB / 0.6896 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.1899, allocations: 119.8 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.0003501/0.1903, allocations: 30.34 kB / 0.6897 GB, free: 6.199 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.1916, allocations: 0.4935 MB / 0.6902 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.192, allocations: 0.7476 MB / 0.6909 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.925e-05/0.192, allocations: 13.08 kB / 0.6909 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.1921, allocations: 19.42 kB / 0.6909 GB, free: 4.875 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1921, allocations: 0 / 0.6909 GB, free: 4.875 MB / 494.1 MB Notification: Performance of Templates: time 0.006533/0.1986, allocations: 3.604 MB / 0.6945 GB, free: 1.305 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)