Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.535/1.535, allocations: 288.4 MB / 303.6 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 180.9 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 0.631 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008345/0.0008345, allocations: 94.34 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 19.3 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001261/0.1847, allocations: 1.187 MB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006745/0.1854, allocations: 408 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.1854, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.914e-05/0.1855, allocations: 3.984 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.1856, allocations: 19.88 kB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.1862, allocations: 210.9 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1864, allocations: 247.5 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1865, allocations: 7.984 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.1867, allocations: 211.7 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.1869, allocations: 135.7 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.187, allocations: 12 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.623e-05/0.1871, allocations: 12 kB / 0.9826 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.1872, allocations: 79.78 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1873, allocations: 145.2 kB / 0.9828 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1874, allocations: 207.8 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1875, allocations: 0 / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1875, allocations: 0 / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1875, allocations: 0 / 0.983 GB, free: 24.41 MB / 0.6198 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.0008543/0.1883, allocations: 0.6105 MB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1884, allocations: 12.03 kB / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.1884, allocations: 42.67 kB / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.1885, allocations: 36.59 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1887, allocations: 259.6 kB / 0.9839 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1888, allocations: 16.38 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.1888, allocations: 20.36 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.1891, allocations: 142.1 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1891, allocations: 3.938 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1891, allocations: 8 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1891, allocations: 4 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1893, allocations: 47.91 kB / 0.9841 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.1895, allocations: 317.3 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1897, allocations: 122.7 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1898, allocations: 56.84 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1899, allocations: 7.938 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.1902, allocations: 221 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1903, allocations: 4 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004644/0.1907, allocations: 270.7 kB / 0.9851 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1908, allocations: 63.41 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.191, allocations: 286.9 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.1911, allocations: 41.69 kB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.1911, allocations: 93.05 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.1912, allocations: 39.59 kB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1913, allocations: 8 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.1913, allocations: 322.8 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.1917, allocations: 96.17 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.192, allocations: 152.3 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.1924, allocations: 238.8 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1924, allocations: 0 / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009697/0.1934, allocations: 415.6 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.1935, allocations: 75.56 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1935, allocations: 4 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1936, allocations: 7.938 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1938, allocations: 27.92 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.1938, allocations: 7.984 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/0.1946, allocations: 75.73 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.1947, allocations: 51.98 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.195, allocations: 168 kB / 0.9872 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.195, allocations: 27.7 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.1951, allocations: 34.25 kB / 0.9872 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1951, allocations: 3.938 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1952, allocations: 0 / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1952, allocations: 7.938 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/0.1961, allocations: 0.5618 MB / 0.9878 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1962, allocations: 4 kB / 0.9878 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.1962, allocations: 7.984 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1962, allocations: 0 / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.1963, allocations: 15.98 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1963, allocations: 4 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1963, allocations: 0 / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.1969, allocations: 328.4 kB / 0.9881 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.1971, allocations: 152.6 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.1972, allocations: 11.98 kB / 0.9883 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.1975, allocations: 15.98 kB / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.1976, allocations: 11.98 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.1977, allocations: 35.97 kB / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002494/0.1979, allocations: 205.9 kB / 0.9885 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.81e-07/0.198, allocations: 4 kB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005339/0.1985, allocations: 47.98 kB / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008814/0.1994, allocations: 0.873 MB / 0.9894 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007405/0.2001, allocations: 342.7 kB / 0.9898 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.2002, allocations: 8.125 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.2004, allocations: 68.58 kB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.2009, allocations: 23.41 kB / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.2035, allocations: 1.175 MB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2038, allocations: 0.7438 MB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.204, allocations: 41.42 kB / 0.9918 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.2042, allocations: 39.42 kB / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.2043, allocations: 0 / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2911/0.4953, allocations: 5.003 MB / 0.9967 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.4955, allocations: 197.1 kB / 0.9969 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.704, allocations: 4 kB / 0.9969 GB, free: 9.711 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)