Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 113.6 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 190.8 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.088/1.088, allocations: 147.6 MB / 445.6 MB, free: 8.258 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 65.58 kB / 0.6109 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 83.16 MB / 0.6922 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002999/0.1674, allocations: 1.717 MB / 0.6938 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1687, allocations: 0.6251 MB / 0.6944 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.1688, allocations: 0 / 0.6944 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.545e-05/0.1689, allocations: 15.81 kB / 0.6945 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.169, allocations: 35.25 kB / 0.6945 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.1698, allocations: 368.8 kB / 0.6948 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00063/0.1704, allocations: 0.6264 MB / 0.6955 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1705, allocations: 34.34 kB / 0.6955 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.1709, allocations: 314.5 kB / 0.6958 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.1712, allocations: 162 kB / 0.6959 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.1713, allocations: 41.66 kB / 0.696 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.1714, allocations: 41.19 kB / 0.696 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1716, allocations: 127.1 kB / 0.6961 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.1718, allocations: 217.9 kB / 0.6964 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.1724, allocations: 0.5936 MB / 0.6969 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1724, allocations: 0 / 0.6969 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.041e-06/0.1724, allocations: 3.938 kB / 0.6969 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.1724, allocations: 1.375 kB / 0.6969 GB, free: 9.828 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001298/0.1737, allocations: 0.918 MB / 0.6978 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1737, allocations: 8.219 kB / 0.6978 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.1738, allocations: 42.73 kB / 0.6979 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1739, allocations: 55.69 kB / 0.6979 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1743, allocations: 344.1 kB / 0.6983 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.1744, allocations: 24.36 kB / 0.6983 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.1745, allocations: 24.36 kB / 0.6983 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1755, allocations: 241.9 kB / 0.6985 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1755, allocations: 3.938 kB / 0.6985 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.1755, allocations: 4 kB / 0.6985 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1756, allocations: 4 kB / 0.6986 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.1763, allocations: 107.9 kB / 0.6987 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1776, allocations: 0.672 MB / 0.6993 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1787, allocations: 182.5 kB / 0.6995 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/0.1795, allocations: 116.8 kB / 0.6996 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1795, allocations: 3.984 kB / 0.6996 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009816/0.1805, allocations: 237.6 kB / 0.6998 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1805, allocations: 4 kB / 0.6998 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002638/0.1831, allocations: 0.4933 MB / 0.7003 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1832, allocations: 59.41 kB / 0.7004 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.1837, allocations: 441.9 kB / 0.7008 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.1838, allocations: 41.69 kB / 0.7008 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.1839, allocations: 101.4 kB / 0.7009 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.1839, allocations: 39.69 kB / 0.701 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.1842, allocations: 137.5 kB / 0.7011 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1843, allocations: 330.8 kB / 0.7014 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.1846, allocations: 135.9 kB / 0.7015 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.185, allocations: 181.9 kB / 0.7017 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.1854, allocations: 306.7 kB / 0.702 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1854, allocations: 3.938 kB / 0.702 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000908/0.1863, allocations: 0.5213 MB / 0.7025 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.1865, allocations: 99.56 kB / 0.7026 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1865, allocations: 3.938 kB / 0.7026 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1865, allocations: 4 kB / 0.7026 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.1867, allocations: 27.97 kB / 0.7026 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1867, allocations: 4 kB / 0.7027 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.1872, allocations: 63.78 kB / 0.7027 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.1873, allocations: 59.92 kB / 0.7028 GB, free: 3.742 MB / 0.5137 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002558/0.1875, allocations: 212.4 kB / 0.703 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.1876, allocations: 43.75 kB / 0.703 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.1877, allocations: 39.8 kB / 0.7031 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1877, allocations: 0 / 0.7031 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1877, allocations: 4 kB / 0.7031 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1877, allocations: 0 / 0.7031 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.19, allocations: 0.7943 MB / 0.7038 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.19, allocations: 0 / 0.7038 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.19, allocations: 7.984 kB / 0.7038 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.19, allocations: 0 / 0.7038 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.1901, allocations: 19.92 kB / 0.7039 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1901, allocations: 3.938 kB / 0.7039 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1901, allocations: 4 kB / 0.7039 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.1919, allocations: 483.4 kB / 0.7043 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.1922, allocations: 256.6 kB / 0.7046 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.1923, allocations: 19.94 kB / 0.7046 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.1928, allocations: 35.95 kB / 0.7046 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.1928, allocations: 4 kB / 0.7046 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.1929, allocations: 59.97 kB / 0.7047 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003604/0.1933, allocations: 319.1 kB / 0.705 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1933, allocations: 0 / 0.705 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003965/0.1937, allocations: 67.98 kB / 0.7051 GB, free: 1.301 MB / 0.5137 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002182/0.1959, allocations: 1.036 MB / 0.7061 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.1973, allocations: 480.8 kB / 0.7065 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1973, allocations: 0 / 0.7065 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.1981, allocations: 128.3 kB / 0.7066 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1985, allocations: 35.03 kB / 0.7067 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.2033, allocations: 3.02 MB / 0.7096 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.2037, allocations: 0.7864 MB / 0.7104 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.806e-05/0.2038, allocations: 13.42 kB / 0.7104 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.2039, allocations: 31.42 kB / 0.7104 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.2039, allocations: 0 / 0.7104 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.2336, allocations: 6.718 MB / 0.717 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.25, allocations: 19.53 kB / 0.717 GB, free: 4.895 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.1607671729289] Failed to read output from testmodel.py, exit status != 0: 8.59547864785418 8.348344763 8.171180057 Calling exit ...