Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.591/1.591, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.000851/0.0008509, allocations: 184.4 kB / 372.3 MB, free: 10.11 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.361/1.361, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0006862/0.000686, allocations: 86.31 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 15.11 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1903, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001772/0.1921, allocations: 1.194 MB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.1931, allocations: 400.1 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1932, allocations: 3.938 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.691e-05/0.1933, allocations: 7.984 kB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1934, allocations: 19.86 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.1942, allocations: 211.1 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.1946, allocations: 243.5 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.1947, allocations: 7.984 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.1951, allocations: 215.7 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1954, allocations: 143.6 kB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.174e-05/0.1955, allocations: 8 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.1956, allocations: 12 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1957, allocations: 79.78 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1959, allocations: 145.2 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1961, allocations: 199.9 kB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1961, allocations: 3.938 kB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1961, allocations: 0 / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.1962, allocations: 0 / 0.983 GB, free: 24.39 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.001151/0.1973, allocations: 0.6144 MB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1974, allocations: 8.031 kB / 0.9836 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.427e-05/0.1974, allocations: 46.67 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1976, allocations: 28.66 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1979, allocations: 259.6 kB / 0.9839 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.198, allocations: 16.38 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.1981, allocations: 24.36 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.1984, allocations: 146.1 kB / 0.9841 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1984, allocations: 7.922 kB / 0.9841 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1985, allocations: 4 kB / 0.9841 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1985, allocations: 0 / 0.9841 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1987, allocations: 47.91 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.199, allocations: 313.3 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1994, allocations: 130.7 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1995, allocations: 56.83 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1996, allocations: 4 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.2001, allocations: 224.8 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.2001, allocations: 0 / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000665/0.2008, allocations: 270.7 kB / 0.9851 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2008, allocations: 63.39 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.2011, allocations: 283 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.2012, allocations: 41.64 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.2012, allocations: 97.03 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.2013, allocations: 43.59 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.2014, allocations: 8 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.2014, allocations: 322.8 kB / 0.9859 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.2017, allocations: 92.17 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.202, allocations: 148.3 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.2023, allocations: 244.2 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2023, allocations: 0 / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007574/0.2031, allocations: 416.6 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/0.2032, allocations: 75.38 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2032, allocations: 7.938 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2032, allocations: 3.938 kB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2034, allocations: 27.92 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2034, allocations: 3.984 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.2041, allocations: 79.92 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/0.2042, allocations: 51.98 kB / 0.987 GB, free: 19.92 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.0001868/0.2044, allocations: 165.5 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.2044, allocations: 27.7 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.2045, allocations: 30.27 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2045, allocations: 15.92 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2045, allocations: 4 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2045, allocations: 0 / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.2054, allocations: 0.5605 MB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2054, allocations: 0 / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.2054, allocations: 11.98 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2055, allocations: 3.984 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2055, allocations: 7.984 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2055, allocations: 4 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2055, allocations: 4 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.206, allocations: 321.3 kB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.2061, allocations: 160.6 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.2062, allocations: 11.98 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.2065, allocations: 11.98 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.2065, allocations: 15.98 kB / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.2066, allocations: 35.97 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001944/0.2068, allocations: 201.9 kB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2068, allocations: 0 / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004837/0.2073, allocations: 55.98 kB / 0.9886 GB, free: 18.2 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.0007017/0.208, allocations: 0.8666 MB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.2086, allocations: 351 kB / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2086, allocations: 0 / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2088, allocations: 69.69 kB / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.2093, allocations: 26.19 kB / 0.9899 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2115, allocations: 1.182 MB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.2117, allocations: 0.7438 MB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.2119, allocations: 37.42 kB / 0.9918 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.2121, allocations: 39.61 kB / 0.9918 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2121, allocations: 4 kB / 0.9918 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3202/0.5323, allocations: 4.993 MB / 0.9967 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.5324, allocations: 202.3 kB / 0.9969 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.741, allocations: 4.062 kB / 0.9969 GB, free: 9.68 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)