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.001216/0.001216, 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.001302/0.001302, allocations: 211.4 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.8943/0.8943, allocations: 150 MB / 463.2 MB, free: 10.23 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.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.001903/0.001903, allocations: 62.59 kB / 0.6413 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 89.18 MB / 0.7284 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002764/0.1583, allocations: 1.703 MB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1596, allocations: 0.6153 MB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.1597, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.136e-05/0.1597, allocations: 11.88 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1599, allocations: 35.78 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.1606, allocations: 367.4 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.1612, allocations: 0.6009 MB / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.1613, allocations: 25.58 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.1617, allocations: 319.6 kB / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.162, allocations: 147.3 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1621, allocations: 40 kB / 0.7322 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1622, allocations: 43.94 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1623, allocations: 127.6 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.1625, allocations: 175.2 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.1631, allocations: 0.6073 MB / 0.7331 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1631, allocations: 0 / 0.7331 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1631, allocations: 4 kB / 0.7331 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1631, allocations: 0 / 0.7331 GB, free: 11.92 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.001232/0.1643, allocations: 0.8378 MB / 0.7339 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1643, allocations: 12.03 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.1644, allocations: 42.73 kB / 0.734 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1645, allocations: 60.66 kB / 0.734 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.1649, allocations: 280.6 kB / 0.7343 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.1649, allocations: 24.36 kB / 0.7343 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.165, allocations: 32.36 kB / 0.7343 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/0.166, allocations: 249.9 kB / 0.7346 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.166, allocations: 3.938 kB / 0.7346 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.166, allocations: 8 kB / 0.7346 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.166, allocations: 0 / 0.7346 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/0.1668, allocations: 131.8 kB / 0.7347 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.168, allocations: 0.5621 MB / 0.7353 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.169, allocations: 190.4 kB / 0.7354 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.1697, allocations: 124.8 kB / 0.7356 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1697, allocations: 4 kB / 0.7356 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000924/0.1707, allocations: 245.8 kB / 0.7358 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.1707, allocations: 0 / 0.7358 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00247/0.1731, allocations: 0.5362 MB / 0.7363 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.1732, allocations: 63.33 kB / 0.7364 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.1737, allocations: 445.9 kB / 0.7368 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.1738, allocations: 49.62 kB / 0.7369 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.1739, allocations: 101.4 kB / 0.737 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.1739, allocations: 35.72 kB / 0.737 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.1741, allocations: 149.4 kB / 0.7371 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1743, allocations: 326.8 kB / 0.7374 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.1746, allocations: 219.3 kB / 0.7377 GB, free: 7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.175, allocations: 269.3 kB / 0.7379 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.1754, allocations: 294.5 kB / 0.7382 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1754, allocations: 4 kB / 0.7382 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000991/0.1764, allocations: 0.6001 MB / 0.7388 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.507e-05/0.1765, allocations: 89.25 kB / 0.7389 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1765, allocations: 3.938 kB / 0.7389 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1765, allocations: 4 kB / 0.7389 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1767, allocations: 36.09 kB / 0.7389 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1767, allocations: 0 / 0.7389 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.1772, allocations: 63.84 kB / 0.739 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.1773, allocations: 63.92 kB / 0.739 GB, free: 5.484 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.0002393/0.1775, allocations: 212.3 kB / 0.7392 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.1776, allocations: 47.7 kB / 0.7393 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.297e-05/0.1776, allocations: 43.73 kB / 0.7393 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1776, allocations: 0 / 0.7393 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1776, allocations: 4 kB / 0.7393 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1776, allocations: 0 / 0.7393 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.1798, allocations: 0.7708 MB / 0.7401 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1798, allocations: 4 kB / 0.7401 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.1798, allocations: 7.984 kB / 0.7401 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1798, allocations: 0 / 0.7401 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.1799, allocations: 35.91 kB / 0.7401 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1799, allocations: 0 / 0.7401 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1799, allocations: 0 / 0.7401 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.1816, allocations: 0.5142 MB / 0.7406 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.1819, allocations: 181.4 kB / 0.7408 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.182, allocations: 19.94 kB / 0.7408 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.1824, allocations: 39.95 kB / 0.7409 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1825, allocations: 7.984 kB / 0.7409 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.1825, allocations: 55.98 kB / 0.7409 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000356/0.1829, allocations: 323.1 kB / 0.7412 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1829, allocations: 4 kB / 0.7412 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003479/0.1832, allocations: 64 kB / 0.7413 GB, free: 3.094 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.002199/0.1854, allocations: 1.071 MB / 0.7423 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.1868, allocations: 0.529 MB / 0.7428 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1868, allocations: 0 / 0.7428 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.1876, allocations: 131.3 kB / 0.743 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.188, allocations: 42.56 kB / 0.743 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.193, allocations: 3.366 MB / 0.7463 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1931, allocations: 175 kB / 0.7465 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.954e-05/0.1932, allocations: 17.42 kB / 0.7465 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.1933, allocations: 27.44 kB / 0.7465 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.1933, allocations: 0 / 0.7465 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.2288, allocations: 8.608 MB / 0.7549 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.46, allocations: 1.719 kB / 0.7549 GB, free: 4.984 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.115303467027843] Failed to read output from testmodel.py, exit status != 0: 10.564061220968142 10.811284754 10.64587999 Calling exit ...