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.001899/0.001899, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002151/0.002151, allocations: 220.6 kB / 23 MB, free: 4.969 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.003/1.003, allocations: 149.9 MB / 463.1 MB, free: 10.39 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.002176/0.002176, allocations: 69.95 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1773, allocations: 89.17 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003311/0.1807, allocations: 1.703 MB / 0.7299 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1821, allocations: 0.615 MB / 0.7305 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.1821, allocations: 0 / 0.7305 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.316e-05/0.1822, allocations: 11.86 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.1824, allocations: 43.78 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.1833, allocations: 372 kB / 0.7309 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000698/0.184, allocations: 0.597 MB / 0.7315 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.1841, allocations: 17.59 kB / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.1846, allocations: 323.5 kB / 0.7318 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.185, allocations: 143.6 kB / 0.7319 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.1851, allocations: 44 kB / 0.732 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1852, allocations: 40 kB / 0.732 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1853, allocations: 127.6 kB / 0.7321 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.1855, allocations: 179.2 kB / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.1862, allocations: 0.5995 MB / 0.7329 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1862, allocations: 3.938 kB / 0.7329 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1862, allocations: 4 kB / 0.7329 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.1862, allocations: 0 / 0.7329 GB, free: 12.21 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.001421/0.1876, allocations: 0.8416 MB / 0.7337 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1876, allocations: 12.03 kB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.1877, allocations: 42.73 kB / 0.7338 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1878, allocations: 56.66 kB / 0.7338 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.1883, allocations: 276.7 kB / 0.7341 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.1884, allocations: 20.36 kB / 0.7341 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.1885, allocations: 32.36 kB / 0.7341 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009612/0.1894, allocations: 241.9 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1894, allocations: 3.938 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1895, allocations: 4 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1895, allocations: 4 kB / 0.7344 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007427/0.1902, allocations: 107.9 kB / 0.7345 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.1915, allocations: 0.5581 MB / 0.735 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1925, allocations: 178.4 kB / 0.7352 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.1932, allocations: 108.8 kB / 0.7353 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1933, allocations: 0 / 0.7353 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009629/0.1942, allocations: 227.2 kB / 0.7355 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1942, allocations: 4 kB / 0.7355 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002507/0.1967, allocations: 0.4917 MB / 0.736 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1968, allocations: 67.39 kB / 0.7361 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.1973, allocations: 437.9 kB / 0.7365 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.1974, allocations: 41.7 kB / 0.7365 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1976, allocations: 105.3 kB / 0.7366 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.1976, allocations: 39.73 kB / 0.7367 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.1979, allocations: 141.4 kB / 0.7368 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.198, allocations: 334.8 kB / 0.7371 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.1984, allocations: 215.3 kB / 0.7373 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.1988, allocations: 269.3 kB / 0.7376 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.1992, allocations: 294.6 kB / 0.7378 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1992, allocations: 0 / 0.7378 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009666/0.2002, allocations: 0.5958 MB / 0.7384 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/0.2003, allocations: 87.38 kB / 0.7385 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2003, allocations: 0 / 0.7385 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2003, allocations: 4 kB / 0.7385 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2005, allocations: 23.92 kB / 0.7385 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2005, allocations: 3.984 kB / 0.7385 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.2009, allocations: 67.97 kB / 0.7386 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.201, allocations: 59.92 kB / 0.7387 GB, free: 5.938 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.0002631/0.2013, allocations: 216.3 kB / 0.7389 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.2014, allocations: 47.66 kB / 0.7389 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/0.2014, allocations: 43.72 kB / 0.739 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2014, allocations: 4 kB / 0.739 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2014, allocations: 0 / 0.739 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2014, allocations: 4 kB / 0.739 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.2037, allocations: 0.7474 MB / 0.7397 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2037, allocations: 0 / 0.7397 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.2037, allocations: 4 kB / 0.7397 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2037, allocations: 0 / 0.7397 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.2038, allocations: 23.91 kB / 0.7397 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2038, allocations: 3.984 kB / 0.7397 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2038, allocations: 8 kB / 0.7397 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.2055, allocations: 490.5 kB / 0.7402 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.2059, allocations: 177.5 kB / 0.7404 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.206, allocations: 19.94 kB / 0.7404 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.2064, allocations: 31.97 kB / 0.7404 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.2065, allocations: 11.98 kB / 0.7404 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.2066, allocations: 55.97 kB / 0.7405 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000363/0.2069, allocations: 319.1 kB / 0.7408 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2069, allocations: 0 / 0.7408 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004098/0.2073, allocations: 71.92 kB / 0.7409 GB, free: 3.617 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.002169/0.2095, allocations: 1.048 MB / 0.7419 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.2109, allocations: 0.5098 MB / 0.7424 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2109, allocations: 4 kB / 0.7424 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007301/0.2117, allocations: 111.9 kB / 0.7425 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.2121, allocations: 34.2 kB / 0.7425 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.2174, allocations: 3.342 MB / 0.7458 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2177, allocations: 171 kB / 0.746 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.186e-05/0.2177, allocations: 13.42 kB / 0.746 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.2178, allocations: 39.42 kB / 0.746 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.2178, allocations: 0 / 0.746 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04036/0.2582, allocations: 8.596 MB / 0.7544 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.49, allocations: 4.938 kB / 0.7544 GB, free: 5.609 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.02410200610757] Failed to read output from testmodel.py, exit status != 0: 11.598343567922711 12.005150237 11.816243592 Calling exit ...