Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.00168/0.00168, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002059/0.002059, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.596/1.596, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.164/1.164, allocations: 150 MB / 459.5 MB, free: 5.336 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.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.001953/0.001953, allocations: 71.98 kB / 0.6362 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1971, allocations: 89.14 MB / 0.7232 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003175/0.2003, allocations: 1.746 MB / 0.7249 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2021, allocations: 0.6227 MB / 0.7255 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.2022, allocations: 0 / 0.7255 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.2023, allocations: 15.8 kB / 0.7256 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.2025, allocations: 35.84 kB / 0.7256 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009821/0.2034, allocations: 377.8 kB / 0.7259 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006787/0.2041, allocations: 0.5931 MB / 0.7265 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2042, allocations: 21.39 kB / 0.7265 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.2047, allocations: 315.5 kB / 0.7268 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.205, allocations: 159.4 kB / 0.727 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.905e-05/0.2051, allocations: 40 kB / 0.727 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.2052, allocations: 40 kB / 0.7271 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2053, allocations: 131.6 kB / 0.7272 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.2056, allocations: 219 kB / 0.7274 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.2063, allocations: 0.5916 MB / 0.728 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2063, allocations: 3.938 kB / 0.728 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2063, allocations: 4 kB / 0.728 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2063, allocations: 0 / 0.728 GB, free: 15.25 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.00146/0.2077, allocations: 0.9209 MB / 0.7289 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2078, allocations: 8.031 kB / 0.7289 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.2078, allocations: 42.73 kB / 0.7289 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.208, allocations: 60.66 kB / 0.729 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.2084, allocations: 330.5 kB / 0.7293 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.2085, allocations: 24.36 kB / 0.7293 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.2086, allocations: 36.23 kB / 0.7294 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.2098, allocations: 240 kB / 0.7296 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2098, allocations: 3.938 kB / 0.7296 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.2098, allocations: 4 kB / 0.7296 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.2098, allocations: 8 kB / 0.7296 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009322/0.2108, allocations: 111.9 kB / 0.7297 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.2122, allocations: 0.6642 MB / 0.7304 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2134, allocations: 174.5 kB / 0.7305 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.2142, allocations: 108.8 kB / 0.7306 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2142, allocations: 4 kB / 0.7306 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.2153, allocations: 231.2 kB / 0.7309 GB, free: 12.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.825e-06/0.2153, allocations: 0 / 0.7309 GB, free: 12.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002816/0.2181, allocations: 0.4948 MB / 0.7314 GB, free: 11.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.2182, allocations: 55.41 kB / 0.7314 GB, free: 11.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.2188, allocations: 449.9 kB / 0.7318 GB, free: 11.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.2189, allocations: 41.69 kB / 0.7319 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.219, allocations: 105.4 kB / 0.732 GB, free: 10.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.219, allocations: 35.72 kB / 0.732 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.2193, allocations: 141.4 kB / 0.7321 GB, free: 10.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2194, allocations: 326.8 kB / 0.7325 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.2197, allocations: 139.9 kB / 0.7326 GB, free: 10.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.2201, allocations: 190.4 kB / 0.7328 GB, free: 10.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.2205, allocations: 297.2 kB / 0.7331 GB, free: 9.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2205, allocations: 0 / 0.7331 GB, free: 9.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009745/0.2215, allocations: 0.522 MB / 0.7336 GB, free: 9.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.2216, allocations: 99.31 kB / 0.7337 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2216, allocations: 4 kB / 0.7337 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.2216, allocations: 0 / 0.7337 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.2218, allocations: 27.97 kB / 0.7337 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.2218, allocations: 8.125 kB / 0.7337 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.2223, allocations: 59.84 kB / 0.7338 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.2225, allocations: 59.92 kB / 0.7338 GB, free: 8.949 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.0003082/0.2228, allocations: 221.2 kB / 0.734 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.2228, allocations: 39.72 kB / 0.7341 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.2229, allocations: 43.8 kB / 0.7341 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2229, allocations: 4 kB / 0.7341 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2229, allocations: 0 / 0.7341 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2229, allocations: 3.984 kB / 0.7341 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.2255, allocations: 0.7873 MB / 0.7349 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2255, allocations: 0 / 0.7349 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.2255, allocations: 7.984 kB / 0.7349 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2255, allocations: 0 / 0.7349 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.2255, allocations: 35.78 kB / 0.7349 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2255, allocations: 0 / 0.7349 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2255, allocations: 0 / 0.7349 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.2275, allocations: 481.3 kB / 0.7354 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.2278, allocations: 248.6 kB / 0.7356 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.2279, allocations: 19.94 kB / 0.7356 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.2284, allocations: 31.95 kB / 0.7357 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.2284, allocations: 8 kB / 0.7357 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-05/0.2285, allocations: 63.97 kB / 0.7357 GB, free: 6.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003758/0.2289, allocations: 319.1 kB / 0.736 GB, free: 6.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2289, allocations: 0 / 0.736 GB, free: 6.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004092/0.2293, allocations: 64 kB / 0.7361 GB, free: 6.504 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.00241/0.2317, allocations: 1.042 MB / 0.7371 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.2332, allocations: 450.4 kB / 0.7375 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2332, allocations: 0 / 0.7375 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008155/0.234, allocations: 111.9 kB / 0.7377 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.2344, allocations: 41.84 kB / 0.7377 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.2394, allocations: 3.025 MB / 0.7406 GB, free: 1.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.2399, allocations: 0.7863 MB / 0.7414 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.956e-05/0.24, allocations: 17.42 kB / 0.7414 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.2401, allocations: 31.42 kB / 0.7415 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.2401, allocations: 0 / 0.7415 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.273, allocations: 6.733 MB / 0.748 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.428, allocations: 9.562 kB / 0.748 GB, free: 10.1 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.791281562997028] Failed to read output from testmodel.py, exit status != 0: 8.499030316947028 8.515150352 8.305868734 Calling exit ...