Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 105.2 kB / 19.74 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 212.7 kB / 23.04 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8846/0.8846, allocations: 150 MB / 463.2 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 65.31 kB / 0.6413 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1535, allocations: 89.18 MB / 0.7284 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003121/0.1566, allocations: 1.7 MB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.158, allocations: 0.6091 MB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.1581, allocations: 0 / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.767e-05/0.1582, allocations: 23.73 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1584, allocations: 31.84 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.1593, allocations: 377.8 kB / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007228/0.16, allocations: 0.597 MB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.1601, allocations: 21.3 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.1606, allocations: 323.6 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.1609, allocations: 147.5 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.161, allocations: 40 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1611, allocations: 40 kB / 0.7322 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1613, allocations: 123.6 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.1615, allocations: 179.2 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.1622, allocations: 0.6075 MB / 0.7331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1622, allocations: 4 kB / 0.7331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1622, allocations: 0 / 0.7331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1622, allocations: 0 / 0.7331 GB, free: 11.96 MB / 0.5606 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.001222/0.1634, allocations: 0.8378 MB / 0.7339 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1634, allocations: 8.031 kB / 0.7339 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.1635, allocations: 42.73 kB / 0.7339 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.1636, allocations: 56.66 kB / 0.734 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.164, allocations: 288.6 kB / 0.7343 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.164, allocations: 24.36 kB / 0.7343 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.1641, allocations: 28.38 kB / 0.7343 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/0.165, allocations: 249.9 kB / 0.7346 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1651, allocations: 3.938 kB / 0.7346 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.1651, allocations: 7.984 kB / 0.7346 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1651, allocations: 4 kB / 0.7346 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.1658, allocations: 127.9 kB / 0.7347 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.167, allocations: 0.5581 MB / 0.7352 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/0.168, allocations: 186.5 kB / 0.7354 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/0.1687, allocations: 128.7 kB / 0.7355 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1687, allocations: 11.92 kB / 0.7356 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009291/0.1696, allocations: 239.1 kB / 0.7358 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.1696, allocations: 4 kB / 0.7358 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002435/0.1721, allocations: 0.5342 MB / 0.7363 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1721, allocations: 63.41 kB / 0.7364 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.1726, allocations: 441.9 kB / 0.7368 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.1727, allocations: 41.69 kB / 0.7368 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1728, allocations: 109.4 kB / 0.7369 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.1728, allocations: 31.73 kB / 0.737 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.173, allocations: 141.4 kB / 0.7371 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1732, allocations: 326.8 kB / 0.7374 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.1735, allocations: 227.3 kB / 0.7376 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.1739, allocations: 273.2 kB / 0.7379 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.1743, allocations: 301 kB / 0.7382 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1743, allocations: 0 / 0.7382 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009379/0.1752, allocations: 0.6016 MB / 0.7388 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.1753, allocations: 91.38 kB / 0.7389 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.1753, allocations: 192 / 0.7389 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1753, allocations: 8 kB / 0.7389 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1755, allocations: 19.98 kB / 0.7389 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1755, allocations: 7.938 kB / 0.7389 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.176, allocations: 63.84 kB / 0.7389 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.1761, allocations: 71.91 kB / 0.739 GB, free: 5.527 MB / 0.5606 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.0002446/0.1763, allocations: 216.4 kB / 0.7392 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.1764, allocations: 43.66 kB / 0.7393 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.1764, allocations: 47.72 kB / 0.7393 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1764, allocations: 0 / 0.7393 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1764, allocations: 0 / 0.7393 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1764, allocations: 0 / 0.7393 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.1786, allocations: 0.7709 MB / 0.7401 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1786, allocations: 0 / 0.7401 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.1786, allocations: 11.92 kB / 0.7401 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1786, allocations: 0 / 0.7401 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.1787, allocations: 23.92 kB / 0.7401 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1787, allocations: 4 kB / 0.7401 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1787, allocations: 0 / 0.7401 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.1803, allocations: 0.5099 MB / 0.7406 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.1806, allocations: 181.4 kB / 0.7408 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.1807, allocations: 23.92 kB / 0.7408 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.1812, allocations: 31.97 kB / 0.7408 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1812, allocations: 11.98 kB / 0.7408 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/0.1813, allocations: 59.97 kB / 0.7409 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003384/0.1816, allocations: 327 kB / 0.7412 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1816, allocations: 0 / 0.7412 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000363/0.182, allocations: 67.98 kB / 0.7413 GB, free: 3.141 MB / 0.5606 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.002056/0.184, allocations: 1.075 MB / 0.7423 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.1853, allocations: 0.5322 MB / 0.7428 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1853, allocations: 0 / 0.7428 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/0.1861, allocations: 128.2 kB / 0.743 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1864, allocations: 37.62 kB / 0.743 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.1911, allocations: 3.353 MB / 0.7463 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1913, allocations: 186.9 kB / 0.7465 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.365e-05/0.1914, allocations: 13.42 kB / 0.7465 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1914, allocations: 31.42 kB / 0.7465 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.1914, allocations: 0 / 0.7465 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.2262, allocations: 8.598 MB / 0.7549 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.43, allocations: 0.8125 kB / 0.7549 GB, free: 5.051 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.090505908010527] Failed to read output from testmodel.py, exit status != 0: 10.530221635941416 10.775156044 10.610649786 Calling exit ...