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.001028/0.001028, allocations: 102.2 kB / 16.35 MB, free: 5.895 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.00099/0.0009901, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 288.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9384/0.9384, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 89.69 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1724, allocations: 86.98 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002427/0.1749, allocations: 1.491 MB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.1757, allocations: 431.3 kB / 0.6835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.1758, allocations: 0 / 0.6835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.485e-05/0.1759, allocations: 3.938 kB / 0.6835 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.176, allocations: 24.17 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.1766, allocations: 247.5 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.1769, allocations: 327.5 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1769, allocations: 7.984 kB / 0.684 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.1772, allocations: 199.6 kB / 0.6842 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1774, allocations: 112.1 kB / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.1774, allocations: 27.94 kB / 0.6844 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.552e-05/0.1775, allocations: 20 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.1776, allocations: 79.77 kB / 0.6845 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1777, allocations: 131.4 kB / 0.6846 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.178, allocations: 291 kB / 0.6849 GB, free: 4.117 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.178, allocations: 0 / 0.6849 GB, free: 4.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.178, allocations: 0 / 0.6849 GB, free: 4.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.178, allocations: 0 / 0.6849 GB, free: 4.117 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.0009349/0.1789, allocations: 0.7307 MB / 0.6856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.179, allocations: 16.03 kB / 0.6856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.1791, allocations: 28.66 kB / 0.6856 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1794, allocations: 275.4 kB / 0.6859 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1794, allocations: 12.38 kB / 0.6859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.1795, allocations: 19.94 kB / 0.6859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008286/0.1803, allocations: 208.4 kB / 0.6861 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1803, allocations: 0 / 0.6861 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1804, allocations: 8 kB / 0.6861 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1804, allocations: 0 / 0.6861 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.181, allocations: 91.92 kB / 0.6862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.1813, allocations: 317.4 kB / 0.6865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.1822, allocations: 178.3 kB / 0.6867 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.1828, allocations: 100.8 kB / 0.6868 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1829, allocations: 7.984 kB / 0.6868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007562/0.1836, allocations: 215.1 kB / 0.687 GB, free: 1.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.1836, allocations: 0 / 0.687 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002072/0.1857, allocations: 452.9 kB / 0.6874 GB, free: 1.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1858, allocations: 63.38 kB / 0.6875 GB, free: 1.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.186, allocations: 291 kB / 0.6878 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.1861, allocations: 33.7 kB / 0.6878 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.1861, allocations: 97.12 kB / 0.6879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.1862, allocations: 43.45 kB / 0.6879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1863, allocations: 93.48 kB / 0.688 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1864, allocations: 322.8 kB / 0.6883 GB, free: 336 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1866, allocations: 83.89 kB / 0.6884 GB, free: 252 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.1868, allocations: 134 kB / 0.6885 GB, free: 96 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2546/0.4414, allocations: 234 kB / 0.6887 GB, free: 18.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4414, allocations: 4.188 kB / 0.6888 GB, free: 18.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000654/0.4421, allocations: 383.8 kB / 0.6891 GB, free: 17.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.4421, allocations: 78.59 kB / 0.6892 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4421, allocations: 1.719 kB / 0.6892 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4422, allocations: 3.438 kB / 0.6892 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4423, allocations: 22.5 kB / 0.6892 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4424, allocations: 5.484 kB / 0.6892 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.4428, allocations: 58.78 kB / 0.6893 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.4429, allocations: 42.34 kB / 0.6893 GB, free: 17.87 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.0001821/0.4431, allocations: 173.9 kB / 0.6895 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.4431, allocations: 28.81 kB / 0.6895 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.4432, allocations: 26.98 kB / 0.6895 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4432, allocations: 2.344 kB / 0.6895 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4432, allocations: 0.875 kB / 0.6895 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4432, allocations: 2.297 kB / 0.6895 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.4451, allocations: 0.6915 MB / 0.6902 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4451, allocations: 2.906 kB / 0.6902 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.4451, allocations: 5.375 kB / 0.6902 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4451, allocations: 1.75 kB / 0.6902 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.4452, allocations: 22.05 kB / 0.6903 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.4452, allocations: 6.469 kB / 0.6903 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4452, allocations: 0.5625 kB / 0.6903 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4467, allocations: 450.4 kB / 0.6907 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.4469, allocations: 167.2 kB / 0.6908 GB, free: 17.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.447, allocations: 11.23 kB / 0.6909 GB, free: 17.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.4474, allocations: 36.34 kB / 0.6909 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.4474, allocations: 7.703 kB / 0.6909 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.4475, allocations: 41.91 kB / 0.6909 GB, free: 17.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.4477, allocations: 209.5 kB / 0.6911 GB, free: 17.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4477, allocations: 5.578 kB / 0.6911 GB, free: 17.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.448, allocations: 50.06 kB / 0.6912 GB, free: 17.13 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.0001292/0.4481, allocations: 114.8 kB / 0.6913 GB, free: 17.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.4492, allocations: 384.9 kB / 0.6917 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4492, allocations: 0 / 0.6917 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006695/0.4498, allocations: 117.9 kB / 0.6918 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4502, allocations: 26.53 kB / 0.6918 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4514, allocations: 422.9 kB / 0.6922 GB, free: 16.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.4516, allocations: 0.7443 MB / 0.6929 GB, free: 16.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.4516, allocations: 10.94 kB / 0.6929 GB, free: 16.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.4517, allocations: 16.06 kB / 0.693 GB, free: 16.01 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4517, allocations: 0 / 0.693 GB, free: 16.01 MB / 494.1 MB Notification: Performance of Templates: time 0.007503/0.4592, allocations: 3.637 MB / 0.6965 GB, free: 15.72 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)