Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.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.001344/0.001344, allocations: 112.2 kB / 17.12 MB, free: 6.008 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.001518/0.001518, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 0.9964/0.9964, allocations: 150 MB / 459.5 MB, free: 5.289 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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_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.002098/0.002098, allocations: 65.55 kB / 0.6361 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1698, allocations: 89.13 MB / 0.7231 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003136/0.1729, allocations: 1.538 MB / 0.7246 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1744, allocations: 0.5441 MB / 0.7252 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.1745, allocations: 3.938 kB / 0.7252 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1746, allocations: 11.92 kB / 0.7252 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.1747, allocations: 31.8 kB / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.1755, allocations: 308.6 kB / 0.7255 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.1761, allocations: 487.5 kB / 0.726 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.1761, allocations: 3.938 kB / 0.726 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.1765, allocations: 275.6 kB / 0.7262 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1767, allocations: 150 kB / 0.7264 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.1768, allocations: 28 kB / 0.7264 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.1769, allocations: 28 kB / 0.7264 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.177, allocations: 115.7 kB / 0.7265 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1772, allocations: 191 kB / 0.7267 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.1777, allocations: 418.8 kB / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1777, allocations: 0 / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1777, allocations: 0 / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1777, allocations: 0 / 0.7271 GB, free: 15.98 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001329/0.179, allocations: 0.8819 MB / 0.728 GB, free: 15.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.179, allocations: 8.031 kB / 0.728 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.1791, allocations: 42.73 kB / 0.728 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1792, allocations: 48.7 kB / 0.7281 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.1796, allocations: 318.5 kB / 0.7284 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.1797, allocations: 20.36 kB / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/0.1797, allocations: 24.38 kB / 0.7284 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.1808, allocations: 210 kB / 0.7286 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1808, allocations: 11.81 kB / 0.7286 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.1808, allocations: 4 kB / 0.7286 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1808, allocations: 0 / 0.7286 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.1817, allocations: 103.9 kB / 0.7287 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1822, allocations: 385.2 kB / 0.7291 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1833, allocations: 170.4 kB / 0.7293 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008283/0.1841, allocations: 105.2 kB / 0.7294 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1841, allocations: 0 / 0.7294 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.1852, allocations: 232.9 kB / 0.7296 GB, free: 13.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.1852, allocations: 0 / 0.7296 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002815/0.188, allocations: 489 kB / 0.7301 GB, free: 12.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.1881, allocations: 63.38 kB / 0.7301 GB, free: 12.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.1885, allocations: 413.9 kB / 0.7305 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.1886, allocations: 41.69 kB / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.1886, allocations: 89.45 kB / 0.7306 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1887, allocations: 43.69 kB / 0.7307 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.1889, allocations: 129.5 kB / 0.7308 GB, free: 11.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1891, allocations: 318.8 kB / 0.7311 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.1893, allocations: 119.9 kB / 0.7312 GB, free: 11.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.1897, allocations: 167.3 kB / 0.7314 GB, free: 11.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.1901, allocations: 283.1 kB / 0.7317 GB, free: 11.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1901, allocations: 0 / 0.7317 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008798/0.191, allocations: 0.4926 MB / 0.7321 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.164e-05/0.1911, allocations: 95.31 kB / 0.7322 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1911, allocations: 0 / 0.7322 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1911, allocations: 4 kB / 0.7322 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1912, allocations: 19.92 kB / 0.7323 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1912, allocations: 4 kB / 0.7323 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.1918, allocations: 64.03 kB / 0.7323 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.1919, allocations: 59.97 kB / 0.7324 GB, free: 10.27 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002481/0.1921, allocations: 192 kB / 0.7326 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.1922, allocations: 47.66 kB / 0.7326 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.1923, allocations: 39.73 kB / 0.7326 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1923, allocations: 0 / 0.7326 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1923, allocations: 0 / 0.7326 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1923, allocations: 0 / 0.7326 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.1947, allocations: 0.7482 MB / 0.7334 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1947, allocations: 0 / 0.7334 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.1947, allocations: 7.984 kB / 0.7334 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1947, allocations: 0 / 0.7334 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.1948, allocations: 23.98 kB / 0.7334 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1948, allocations: 0 / 0.7334 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1948, allocations: 3.938 kB / 0.7334 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.1968, allocations: 489.4 kB / 0.7339 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.1971, allocations: 196.7 kB / 0.7341 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.1971, allocations: 15.98 kB / 0.7341 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.1976, allocations: 27.97 kB / 0.7341 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1977, allocations: 11.97 kB / 0.7341 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.1978, allocations: 55.98 kB / 0.7342 GB, free: 8.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003492/0.1981, allocations: 295.1 kB / 0.7344 GB, free: 8.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1981, allocations: 4 kB / 0.7344 GB, free: 8.039 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003999/0.1985, allocations: 67.98 kB / 0.7345 GB, free: 7.973 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.002421/0.2009, allocations: 1.024 MB / 0.7355 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.2023, allocations: 404.3 kB / 0.7359 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2023, allocations: 384 / 0.7359 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.2032, allocations: 111.9 kB / 0.736 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.2036, allocations: 23.92 kB / 0.736 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/0.2084, allocations: 2.805 MB / 0.7388 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.2089, allocations: 0.7708 MB / 0.7395 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.73e-05/0.2089, allocations: 13.08 kB / 0.7395 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.209, allocations: 23.42 kB / 0.7396 GB, free: 2.594 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.209, allocations: 0 / 0.7396 GB, free: 2.594 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.2408, allocations: 6.131 MB / 0.7455 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.484, allocations: 15.31 kB / 0.7456 GB, free: 12.44 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.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_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.57302184519358] Failed to read output from testmodel.py, exit status != 0: 8.555876164929941 8.577243977 8.395563359 Calling exit ...