Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001806/0.001806, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.002133/0.002133, allocations: 204 kB / 20.09 MB, free: 2.977 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 1.012/1.012, allocations: 150 MB / 459.5 MB, free: 5.363 MB / 350.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.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",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.00216/0.00216, allocations: 74.11 kB / 0.6362 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1919, allocations: 89.13 MB / 0.7232 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00306/0.1949, allocations: 1.746 MB / 0.7249 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1964, allocations: 0.63 MB / 0.7255 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.1965, allocations: 0 / 0.7255 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.122e-05/0.1966, allocations: 11.86 kB / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.1967, allocations: 39.78 kB / 0.7256 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.1975, allocations: 365.4 kB / 0.7259 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006739/0.1982, allocations: 0.6048 MB / 0.7265 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1983, allocations: 25.33 kB / 0.7265 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.1987, allocations: 315.5 kB / 0.7268 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.199, allocations: 159.4 kB / 0.727 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.1991, allocations: 44 kB / 0.727 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.1992, allocations: 40 kB / 0.7271 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1993, allocations: 127.7 kB / 0.7272 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1995, allocations: 214.9 kB / 0.7274 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.2002, allocations: 0.5956 MB / 0.728 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2002, allocations: 0 / 0.728 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2002, allocations: 0 / 0.728 GB, free: 15.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2002, allocations: 0 / 0.728 GB, free: 15.18 MB / 0.545 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.00145/0.2016, allocations: 0.9209 MB / 0.7289 GB, free: 14.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2017, allocations: 8.031 kB / 0.7289 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.2017, allocations: 42.73 kB / 0.7289 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.2019, allocations: 56.66 kB / 0.729 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.2023, allocations: 334.5 kB / 0.7293 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.2024, allocations: 24.38 kB / 0.7293 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.2025, allocations: 32.36 kB / 0.7294 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.2035, allocations: 237.9 kB / 0.7296 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2035, allocations: 3.938 kB / 0.7296 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.2036, allocations: 4 kB / 0.7296 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2036, allocations: 11.97 kB / 0.7296 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008633/0.2045, allocations: 111.9 kB / 0.7297 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2059, allocations: 0.6682 MB / 0.7304 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.2071, allocations: 178.5 kB / 0.7305 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008256/0.2079, allocations: 104.8 kB / 0.7306 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2079, allocations: 0 / 0.7306 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.209, allocations: 235.3 kB / 0.7309 GB, free: 12.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.209, allocations: 3.938 kB / 0.7309 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002845/0.2118, allocations: 0.4922 MB / 0.7313 GB, free: 11.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.2119, allocations: 59.39 kB / 0.7314 GB, free: 11.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.2124, allocations: 441.9 kB / 0.7318 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.2125, allocations: 37.7 kB / 0.7319 GB, free: 10.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2126, allocations: 117.4 kB / 0.732 GB, free: 10.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.2126, allocations: 35.73 kB / 0.732 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.2129, allocations: 137.4 kB / 0.7321 GB, free: 10.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.213, allocations: 326.8 kB / 0.7325 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2134, allocations: 135.9 kB / 0.7326 GB, free: 10.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.2137, allocations: 198.4 kB / 0.7328 GB, free: 10 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.2142, allocations: 299.1 kB / 0.7331 GB, free: 9.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2142, allocations: 0 / 0.7331 GB, free: 9.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009545/0.2151, allocations: 0.5219 MB / 0.7336 GB, free: 9.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.2152, allocations: 99.31 kB / 0.7337 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2152, allocations: 4 kB / 0.7337 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2153, allocations: 0 / 0.7337 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.2154, allocations: 23.92 kB / 0.7337 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2154, allocations: 4 kB / 0.7337 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.216, allocations: 60.03 kB / 0.7337 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.2161, allocations: 67.91 kB / 0.7338 GB, free: 8.871 MB / 0.545 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.0002746/0.2163, allocations: 213.2 kB / 0.734 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.2164, allocations: 47.7 kB / 0.7341 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.153e-05/0.2165, allocations: 39.78 kB / 0.7341 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2165, allocations: 4 kB / 0.7341 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2165, allocations: 4 kB / 0.7341 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2165, allocations: 0 / 0.7341 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.219, allocations: 0.7873 MB / 0.7349 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.219, allocations: 0 / 0.7349 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.219, allocations: 8 kB / 0.7349 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.219, allocations: 0 / 0.7349 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.219, allocations: 27.91 kB / 0.7349 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.219, allocations: 0 / 0.7349 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2191, allocations: 3.938 kB / 0.7349 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.221, allocations: 485.2 kB / 0.7354 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.2213, allocations: 244.6 kB / 0.7356 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.2214, allocations: 23.92 kB / 0.7356 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.2219, allocations: 31.97 kB / 0.7357 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.222, allocations: 11.98 kB / 0.7357 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.643e-05/0.2221, allocations: 59.97 kB / 0.7357 GB, free: 6.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004042/0.2225, allocations: 319.1 kB / 0.736 GB, free: 6.492 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2225, allocations: 0 / 0.736 GB, free: 6.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004071/0.2229, allocations: 67.98 kB / 0.7361 GB, free: 6.426 MB / 0.545 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.002437/0.2253, allocations: 1.036 MB / 0.7371 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.2268, allocations: 452.7 kB / 0.7375 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2268, allocations: 0 / 0.7375 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.2276, allocations: 111.9 kB / 0.7376 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.2281, allocations: 37.47 kB / 0.7377 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/0.2336, allocations: 3.023 MB / 0.7406 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.2341, allocations: 0.7902 MB / 0.7414 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.735e-05/0.2342, allocations: 13.44 kB / 0.7414 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.2343, allocations: 31.42 kB / 0.7415 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2343, allocations: 0 / 0.7415 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.268, allocations: 6.733 MB / 0.748 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.425, allocations: 9.562 kB / 0.748 GB, free: 10.05 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.600613423855975] Failed to read output from testmodel.py, exit status != 0: 8.501717707840726 8.523244603 8.320077995 Calling exit ...