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.001022/0.001022, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.0009963/0.0009963, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 292.9 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8886/0.8886, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 98.08 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1793, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002573/0.1819, allocations: 1.488 MB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1829, allocations: 433.4 kB / 0.6834 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.183, allocations: 4 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1831, allocations: 3.938 kB / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.1833, allocations: 28.16 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.184, allocations: 246.5 kB / 0.6837 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.1844, allocations: 323.5 kB / 0.684 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.1845, allocations: 19.95 kB / 0.684 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.1848, allocations: 191.7 kB / 0.6842 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.185, allocations: 117.3 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.185, allocations: 24 kB / 0.6844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.762e-05/0.1851, allocations: 20 kB / 0.6844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1852, allocations: 83.77 kB / 0.6845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.1854, allocations: 123.4 kB / 0.6846 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1857, allocations: 295 kB / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1857, allocations: 0 / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1857, allocations: 0 / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1857, allocations: 0 / 0.6849 GB, free: 4.074 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.001015/0.1867, allocations: 0.7307 MB / 0.6856 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1868, allocations: 20.02 kB / 0.6856 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.1869, allocations: 28.66 kB / 0.6856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1872, allocations: 271.4 kB / 0.6859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.1872, allocations: 12.38 kB / 0.6859 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.1873, allocations: 19.94 kB / 0.6859 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.1881, allocations: 204.4 kB / 0.6861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1881, allocations: 0 / 0.6861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1882, allocations: 12 kB / 0.6861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1882, allocations: 0 / 0.6861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.1888, allocations: 91.92 kB / 0.6862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.1891, allocations: 317.3 kB / 0.6865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/0.1899, allocations: 182.3 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.1905, allocations: 104.8 kB / 0.6868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1906, allocations: 3.938 kB / 0.6868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000749/0.1913, allocations: 211.2 kB / 0.687 GB, free: 1.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1913, allocations: 0 / 0.687 GB, free: 1.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002072/0.1934, allocations: 451.4 kB / 0.6874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1935, allocations: 67.39 kB / 0.6875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1937, allocations: 287 kB / 0.6878 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1938, allocations: 33.7 kB / 0.6878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.1938, allocations: 101.1 kB / 0.6879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1939, allocations: 39.45 kB / 0.6879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.194, allocations: 97.47 kB / 0.688 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1941, allocations: 322.8 kB / 0.6883 GB, free: 292 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1943, allocations: 83.89 kB / 0.6884 GB, free: 208 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1945, allocations: 134 kB / 0.6885 GB, free: 52 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3123/0.5069, allocations: 233.4 kB / 0.6888 GB, free: 17.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.5069, allocations: 6.625 kB / 0.6888 GB, free: 17.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007863/0.5077, allocations: 384.1 kB / 0.6891 GB, free: 17.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.5078, allocations: 77.67 kB / 0.6892 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5078, allocations: 1.719 kB / 0.6892 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.5078, allocations: 2.938 kB / 0.6892 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.508, allocations: 22.06 kB / 0.6892 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.5081, allocations: 7.188 kB / 0.6892 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.5085, allocations: 60.25 kB / 0.6893 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.5086, allocations: 45.56 kB / 0.6893 GB, free: 17.81 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.0002332/0.5088, allocations: 168.7 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.5089, allocations: 32.25 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.509, allocations: 28.69 kB / 0.6896 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.509, allocations: 1.922 kB / 0.6896 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.509, allocations: 1.312 kB / 0.6896 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.509, allocations: 0.6562 kB / 0.6896 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.5109, allocations: 0.6857 MB / 0.6902 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.511, allocations: 3.969 kB / 0.6902 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.511, allocations: 10.28 kB / 0.6902 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.511, allocations: 1.531 kB / 0.6902 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.5111, allocations: 18.52 kB / 0.6903 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.5111, allocations: 5.219 kB / 0.6903 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5111, allocations: 0 / 0.6903 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.5126, allocations: 450.2 kB / 0.6907 GB, free: 17.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.5128, allocations: 168.5 kB / 0.6909 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.5128, allocations: 9.156 kB / 0.6909 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.5133, allocations: 36.2 kB / 0.6909 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.5133, allocations: 11.77 kB / 0.6909 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.5134, allocations: 41.56 kB / 0.6909 GB, free: 17.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.5136, allocations: 212.3 kB / 0.6911 GB, free: 17.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5136, allocations: 1.219 kB / 0.6912 GB, free: 17.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.5139, allocations: 46.86 kB / 0.6912 GB, free: 17.07 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.000137/0.5141, allocations: 119.3 kB / 0.6913 GB, free: 16.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.5151, allocations: 376.2 kB / 0.6917 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5152, allocations: 0.7812 kB / 0.6917 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.5158, allocations: 117.6 kB / 0.6918 GB, free: 16.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.5162, allocations: 22.36 kB / 0.6918 GB, free: 16.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.5175, allocations: 429.7 kB / 0.6922 GB, free: 16.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.5177, allocations: 0.7401 MB / 0.6929 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.5178, allocations: 14.39 kB / 0.6929 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.5178, allocations: 17.58 kB / 0.693 GB, free: 15.94 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5178, allocations: 3.938 kB / 0.693 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Templates: time 0.008637/0.5265, allocations: 3.642 MB / 0.6965 GB, free: 15.65 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)