Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001012/0.001012, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 280.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8959/0.8959, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 98.17 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1764, allocations: 86.99 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002636/0.1791, allocations: 1.474 MB / 0.683 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008632/0.18, allocations: 427.3 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.18, allocations: 0 / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.557e-05/0.1801, allocations: 11.88 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.345e-05/0.1802, allocations: 24.16 kB / 0.6835 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.1809, allocations: 254.6 kB / 0.6837 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1812, allocations: 319.6 kB / 0.684 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1813, allocations: 11.97 kB / 0.684 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.1815, allocations: 195.7 kB / 0.6842 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1818, allocations: 124 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.1818, allocations: 20 kB / 0.6844 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.1819, allocations: 20 kB / 0.6844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.182, allocations: 79.77 kB / 0.6845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1821, allocations: 127.4 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1824, allocations: 291 kB / 0.6849 GB, free: 4.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1824, allocations: 3.938 kB / 0.6849 GB, free: 4.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1824, allocations: 0 / 0.6849 GB, free: 4.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1825, allocations: 0 / 0.6849 GB, free: 4.066 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.001021/0.1835, allocations: 0.7345 MB / 0.6856 GB, free: 3.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.1835, allocations: 12.03 kB / 0.6856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.1836, allocations: 32.64 kB / 0.6856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1839, allocations: 267.5 kB / 0.6859 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.184, allocations: 16.36 kB / 0.6859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.184, allocations: 19.94 kB / 0.6859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.1849, allocations: 209.4 kB / 0.6861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1849, allocations: 0 / 0.6861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.1849, allocations: 7.938 kB / 0.6861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1849, allocations: 0 / 0.6861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.1856, allocations: 91.92 kB / 0.6862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.1859, allocations: 321.3 kB / 0.6865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.1868, allocations: 178.3 kB / 0.6867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.1874, allocations: 112.8 kB / 0.6868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1875, allocations: 0 / 0.6868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.1883, allocations: 210.1 kB / 0.687 GB, free: 1.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1883, allocations: 0 / 0.687 GB, free: 1.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002118/0.1904, allocations: 452.9 kB / 0.6874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.1904, allocations: 63.39 kB / 0.6875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1907, allocations: 291 kB / 0.6878 GB, free: 0.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.1907, allocations: 33.7 kB / 0.6878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.1908, allocations: 97.12 kB / 0.6879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.1909, allocations: 43.44 kB / 0.6879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.191, allocations: 93.48 kB / 0.688 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.1911, allocations: 322.8 kB / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1913, allocations: 83.89 kB / 0.6884 GB, free: 196 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.1915, allocations: 134 kB / 0.6885 GB, free: 40 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3124/0.5039, allocations: 235.6 kB / 0.6888 GB, free: 18.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.5039, allocations: 3.781 kB / 0.6888 GB, free: 18.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007181/0.5046, allocations: 386.8 kB / 0.6891 GB, free: 18.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.5047, allocations: 78.39 kB / 0.6892 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5047, allocations: 0.7188 kB / 0.6892 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.5048, allocations: 3.672 kB / 0.6892 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.505, allocations: 21.89 kB / 0.6892 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.505, allocations: 7.203 kB / 0.6892 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.5054, allocations: 58.03 kB / 0.6893 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.5055, allocations: 44.61 kB / 0.6893 GB, free: 18.39 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.0002125/0.5057, allocations: 170.8 kB / 0.6895 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.5058, allocations: 26.83 kB / 0.6895 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.5058, allocations: 29.25 kB / 0.6896 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5058, allocations: 2.531 kB / 0.6896 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5059, allocations: 0 / 0.6896 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5059, allocations: 2.531 kB / 0.6896 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.5078, allocations: 0.6848 MB / 0.6902 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5078, allocations: 1.438 kB / 0.6902 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.5078, allocations: 12.47 kB / 0.6902 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5078, allocations: 0.7188 kB / 0.6902 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.5079, allocations: 19.67 kB / 0.6903 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5079, allocations: 6.938 kB / 0.6903 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5079, allocations: 0 / 0.6903 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.5094, allocations: 451.7 kB / 0.6907 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.5096, allocations: 163.1 kB / 0.6909 GB, free: 17.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.5097, allocations: 13.05 kB / 0.6909 GB, free: 17.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.5101, allocations: 33.23 kB / 0.6909 GB, free: 17.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.5101, allocations: 14.5 kB / 0.6909 GB, free: 17.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/0.5102, allocations: 43.69 kB / 0.691 GB, free: 17.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.5104, allocations: 210.6 kB / 0.6912 GB, free: 17.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5104, allocations: 1.062 kB / 0.6912 GB, free: 17.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.5107, allocations: 46.75 kB / 0.6912 GB, free: 17.44 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.0001283/0.5108, allocations: 121.7 kB / 0.6913 GB, free: 17.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.5119, allocations: 379.8 kB / 0.6917 GB, free: 17.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5119, allocations: 1.188 kB / 0.6917 GB, free: 17.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.5126, allocations: 113.8 kB / 0.6918 GB, free: 17.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.5129, allocations: 25.17 kB / 0.6918 GB, free: 17.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5141, allocations: 424.3 kB / 0.6922 GB, free: 16.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.5142, allocations: 0.7427 MB / 0.6929 GB, free: 16.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.5143, allocations: 16.38 kB / 0.693 GB, free: 16.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.5143, allocations: 16.38 kB / 0.693 GB, free: 16.19 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5144, allocations: 1.438 kB / 0.693 GB, free: 16.19 MB / 494.1 MB Notification: Performance of Templates: time 0.007313/0.5217, allocations: 3.634 MB / 0.6965 GB, free: 15.9 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)