Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_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.001447/0.001447, 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.001945/0.001945, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71.17 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1845, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002475/0.187, allocations: 1.491 MB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.1878, allocations: 427.3 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.1879, allocations: 4 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.289e-05/0.188, allocations: 11.86 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.1881, allocations: 16.25 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.1887, allocations: 250.6 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000301/0.189, allocations: 327.5 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.1891, allocations: 7.984 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.1893, allocations: 195.8 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1895, allocations: 108 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.1896, allocations: 27.94 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.1897, allocations: 20 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.1898, allocations: 79.78 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1899, allocations: 127.4 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1902, allocations: 295.3 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1902, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1902, allocations: 4 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1902, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB 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.0009583/0.1912, allocations: 0.7461 MB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1912, allocations: 8.031 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.1913, allocations: 42.75 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.1914, allocations: 32.64 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1917, allocations: 259.6 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.1917, allocations: 20.06 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.1918, allocations: 20 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.1927, allocations: 212.1 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1927, allocations: 0 / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.1928, allocations: 0 / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1928, allocations: 3.938 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.1935, allocations: 91.92 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1939, allocations: 321.3 kB / 0.7884 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1949, allocations: 174.4 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007248/0.1956, allocations: 108.8 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1957, allocations: 4 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009126/0.1966, allocations: 214.1 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1966, allocations: 0 / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002425/0.199, allocations: 449 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1991, allocations: 63.39 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.1994, allocations: 290.9 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.1994, allocations: 45.69 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.1995, allocations: 85.14 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.1995, allocations: 35.55 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.1997, allocations: 101.4 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.1998, allocations: 330.8 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1999, allocations: 79.94 kB / 0.7903 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.2001, allocations: 138 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.2004, allocations: 244 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2005, allocations: 3.938 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005867/0.201, allocations: 396.6 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.2011, allocations: 73.89 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2011, allocations: 0 / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2011, allocations: 4 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2013, allocations: 31.91 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2013, allocations: 192 / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.2018, allocations: 63.8 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.2019, allocations: 35.98 kB / 0.7913 GB, free: 5.023 MB / 0.6075 GB 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.0001566/0.202, allocations: 175.2 kB / 0.7914 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.2021, allocations: 23.72 kB / 0.7915 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.2021, allocations: 30.3 kB / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2021, allocations: 4 kB / 0.7915 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2021, allocations: 3.984 kB / 0.7915 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2021, allocations: 0 / 0.7915 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.2041, allocations: 0.6894 MB / 0.7922 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2041, allocations: 0 / 0.7922 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.2041, allocations: 15.92 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2042, allocations: 0 / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.2042, allocations: 15.98 kB / 0.7922 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2042, allocations: 4 kB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2042, allocations: 0 / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.2058, allocations: 449.3 kB / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.206, allocations: 164.6 kB / 0.7928 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.206, allocations: 15.98 kB / 0.7928 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.2065, allocations: 31.97 kB / 0.7928 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2065, allocations: 19.86 kB / 0.7928 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.2066, allocations: 39.97 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001588/0.2068, allocations: 205.9 kB / 0.7931 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2068, allocations: 0 / 0.7931 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003029/0.2071, allocations: 55.98 kB / 0.7931 GB, free: 3.016 MB / 0.6075 GB 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.001847/0.2089, allocations: 0.9838 MB / 0.7941 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.21, allocations: 389.8 kB / 0.7945 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.21, allocations: 3.938 kB / 0.7945 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.2108, allocations: 115.9 kB / 0.7946 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.2111, allocations: 24.95 kB / 0.7946 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.2142, allocations: 2.379 MB / 0.7969 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2144, allocations: 0.7435 MB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.764e-05/0.2145, allocations: 21.06 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.2145, allocations: 19.42 kB / 0.7977 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2145, allocations: 0 / 0.7977 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.2346, allocations: 4.771 MB / 0.8024 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.755, allocations: 14.56 kB / 0.8024 GB, free: 9.449 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)