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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 278.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9088/0.9088, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 97.16 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1747, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002741/0.1775, allocations: 1.475 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000865/0.1784, allocations: 427.9 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.1784, allocations: 5 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.554e-05/0.1785, allocations: 7.922 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.1787, allocations: 28.94 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.1794, allocations: 252.3 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.1797, allocations: 325.4 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.1798, allocations: 16.25 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1801, allocations: 199.7 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1803, allocations: 108 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.981e-05/0.1804, allocations: 20 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.1805, allocations: 23.94 kB / 0.6831 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1806, allocations: 79.78 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1808, allocations: 127.4 kB / 0.6833 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.1812, allocations: 291 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1812, allocations: 4 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1812, allocations: 0 / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1812, allocations: 4 kB / 0.6836 GB, free: 13.24 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.00125/0.1824, allocations: 0.7385 MB / 0.6843 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1825, allocations: 8.031 kB / 0.6843 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/0.1826, allocations: 42.73 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1827, allocations: 32.56 kB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.183, allocations: 259.6 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.1831, allocations: 20.06 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.1832, allocations: 27.98 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.1841, allocations: 197.5 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1842, allocations: 0 / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.1842, allocations: 0 / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1842, allocations: 0 / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.1849, allocations: 95.92 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1853, allocations: 321.4 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.1863, allocations: 178.3 kB / 0.6854 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.1871, allocations: 108.8 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1871, allocations: 3.984 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008859/0.188, allocations: 215.1 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.188, allocations: 0 / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002374/0.1904, allocations: 451.6 kB / 0.6861 GB, free: 10.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1904, allocations: 67.28 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.1907, allocations: 287 kB / 0.6865 GB, free: 10 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1908, allocations: 41.69 kB / 0.6865 GB, free: 9.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1908, allocations: 89.05 kB / 0.6866 GB, free: 9.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.1909, allocations: 35.55 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.191, allocations: 97.48 kB / 0.6867 GB, free: 9.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1912, allocations: 330.8 kB / 0.6871 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.1913, allocations: 83.88 kB / 0.6871 GB, free: 9.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1916, allocations: 134.6 kB / 0.6873 GB, free: 9.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.1919, allocations: 251 kB / 0.6875 GB, free: 8.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1919, allocations: 0 / 0.6875 GB, free: 8.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000613/0.1925, allocations: 390.7 kB / 0.6879 GB, free: 8.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.1926, allocations: 79.41 kB / 0.6879 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1926, allocations: 0 / 0.6879 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1926, allocations: 4 kB / 0.688 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1928, allocations: 27.92 kB / 0.688 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1928, allocations: 3.938 kB / 0.688 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.1932, allocations: 63.73 kB / 0.688 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.1933, allocations: 39.97 kB / 0.6881 GB, free: 8.258 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.0001703/0.1935, allocations: 176.6 kB / 0.6882 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.1935, allocations: 27.7 kB / 0.6883 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.1936, allocations: 26.3 kB / 0.6883 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1936, allocations: 4 kB / 0.6883 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1936, allocations: 0 / 0.6883 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1936, allocations: 0 / 0.6883 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.1957, allocations: 0.6894 MB / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1957, allocations: 0 / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.1957, allocations: 15.98 kB / 0.689 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1957, allocations: 0 / 0.689 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.1958, allocations: 11.98 kB / 0.689 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1958, allocations: 11.98 kB / 0.689 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1958, allocations: 0 / 0.689 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.1974, allocations: 446.9 kB / 0.6894 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.1976, allocations: 160.7 kB / 0.6896 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.1977, allocations: 12 kB / 0.6896 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.1981, allocations: 27.97 kB / 0.6896 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1981, allocations: 15.92 kB / 0.6896 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.1982, allocations: 39.97 kB / 0.6897 GB, free: 6.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1984, allocations: 209.9 kB / 0.6899 GB, free: 6.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1984, allocations: 0 / 0.6899 GB, free: 6.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1987, allocations: 56 kB / 0.6899 GB, free: 6.25 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.001961/0.2007, allocations: 0.9954 MB / 0.6909 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2017, allocations: 378.5 kB / 0.6913 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.2018, allocations: 0 / 0.6913 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.2025, allocations: 121.6 kB / 0.6914 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2028, allocations: 29.64 kB / 0.6914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.2061, allocations: 2.351 MB / 0.6937 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.2064, allocations: 0.7435 MB / 0.6944 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.2064, allocations: 13.08 kB / 0.6945 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.2065, allocations: 19.42 kB / 0.6945 GB, free: 1.406 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2065, allocations: 7.938 kB / 0.6945 GB, free: 1.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.2264, allocations: 4.805 MB / 0.6992 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/7.13, allocations: 8.875 kB / 0.6992 GB, free: 12.74 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)