Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.497/1.497, allocations: 288.4 MB / 303.6 MB, free: 8.07 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.001125/0.001125, allocations: 168.5 kB / 372.2 MB, free: 10.14 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.331/1.331, allocations: 205.4 MB / 0.631 GB, free: 9.961 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.0007441/0.0007439, allocations: 94.23 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003657, allocations: 11.44 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001344/0.1715, allocations: 1.187 MB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.1723, allocations: 408.1 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.1724, allocations: 3.938 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.889e-05/0.1725, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1726, allocations: 19.86 kB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.1733, allocations: 209.8 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1735, allocations: 243.5 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1736, allocations: 7.984 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.1739, allocations: 219.6 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1741, allocations: 135.7 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.201e-05/0.1742, allocations: 8 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.226e-05/0.1743, allocations: 12 kB / 0.9826 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.1744, allocations: 79.78 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1746, allocations: 145.2 kB / 0.9828 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1748, allocations: 203.9 kB / 0.983 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1748, allocations: 0 / 0.983 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1748, allocations: 3.938 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1748, 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.00111/0.1759, allocations: 0.6104 MB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.176, allocations: 8.031 kB / 0.9836 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.176, allocations: 42.69 kB / 0.9836 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.1761, allocations: 32.59 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1764, allocations: 267.6 kB / 0.9839 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1764, allocations: 16.36 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.1765, allocations: 24.38 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1768, allocations: 147.7 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1768, allocations: 3.938 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1768, allocations: 0 / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1769, allocations: 0 / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.177, allocations: 51.91 kB / 0.9841 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.1773, allocations: 309.3 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.1775, allocations: 130.7 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1776, allocations: 56.83 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1776, allocations: 4 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003831/0.178, allocations: 225.1 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.178, allocations: 0 / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004893/0.1785, allocations: 274.8 kB / 0.9851 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1786, allocations: 55.41 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1788, allocations: 283 kB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.1789, allocations: 41.69 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1789, allocations: 109 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.179, allocations: 35.61 kB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.179, allocations: 8 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.1791, allocations: 322.8 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.1793, allocations: 96.17 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1795, allocations: 148.3 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1798, allocations: 243.7 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.1798, allocations: 0 / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006464/0.1805, allocations: 419.8 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.1805, allocations: 71.39 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1806, allocations: 4 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1806, allocations: 3.938 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1807, allocations: 35.91 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1808, allocations: 0 / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.1813, allocations: 79.92 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.1813, allocations: 47.98 kB / 0.987 GB, free: 19.96 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.0001592/0.1815, allocations: 172 kB / 0.9872 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.1815, allocations: 27.7 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.1816, allocations: 34.25 kB / 0.9872 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1816, allocations: 7.938 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1816, allocations: 0 / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1816, allocations: 3.938 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.1823, allocations: 0.5658 MB / 0.9878 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1823, allocations: 0 / 0.9878 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.1823, allocations: 11.98 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1823, allocations: 0 / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1824, allocations: 11.98 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1824, allocations: 8 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1824, allocations: 4 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1827, allocations: 322.9 kB / 0.9881 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1828, allocations: 156.6 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.1829, allocations: 8 kB / 0.9883 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.1831, allocations: 15.98 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.1832, allocations: 19.97 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.1832, allocations: 31.98 kB / 0.9883 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001272/0.1833, allocations: 205.9 kB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1834, allocations: 0 / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002827/0.1836, allocations: 48 kB / 0.9886 GB, free: 18.22 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.0005314/0.1842, allocations: 0.8731 MB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.1846, allocations: 343.9 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1846, allocations: 3.938 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1847, allocations: 67.97 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.0003126/0.1851, allocations: 25.48 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.001546/0.1866, 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.0001478/0.1868, allocations: 0.736 MB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.1869, allocations: 41.42 kB / 0.9918 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.1871, allocations: 51.41 kB / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1871, allocations: 0 / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4936/0.6806, allocations: 4.988 MB / 0.9967 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.6809, allocations: 195.9 kB / 0.9969 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.939, allocations: 3.516 kB / 0.9969 GB, free: 9.703 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)