Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001411/0.001411, allocations: 114 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.001693/0.001693, allocations: 211.2 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.017/1.017, allocations: 150 MB / 459.5 MB, free: 5.68 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.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",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.002003/0.002003, allocations: 69.62 kB / 0.6362 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.175, allocations: 89.14 MB / 0.7232 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003033/0.178, allocations: 1.747 MB / 0.7249 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1797, allocations: 0.6302 MB / 0.7255 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1798, allocations: 0 / 0.7255 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.18, allocations: 11.86 kB / 0.7255 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1801, allocations: 43.78 kB / 0.7256 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1812, allocations: 354.2 kB / 0.7259 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007097/0.1819, allocations: 0.6008 MB / 0.7265 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.182, allocations: 21.39 kB / 0.7265 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.1825, allocations: 315.5 kB / 0.7268 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1827, allocations: 163.4 kB / 0.727 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.1828, allocations: 44 kB / 0.727 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.1829, allocations: 40 kB / 0.7271 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1831, allocations: 127.6 kB / 0.7272 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.1833, allocations: 219 kB / 0.7274 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.184, allocations: 0.5956 MB / 0.728 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.184, allocations: 4 kB / 0.728 GB, free: 15.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.245e-06/0.184, allocations: 0 / 0.728 GB, free: 15.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.184, allocations: 0 / 0.728 GB, free: 15.26 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.001461/0.1854, allocations: 0.9188 MB / 0.7289 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1855, allocations: 12.03 kB / 0.7289 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.1856, allocations: 42.73 kB / 0.7289 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1857, allocations: 56.66 kB / 0.729 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.1862, allocations: 330.5 kB / 0.7293 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.1862, allocations: 20.36 kB / 0.7293 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.744e-05/0.1863, allocations: 32.36 kB / 0.7293 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1874, allocations: 241.9 kB / 0.7296 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1874, allocations: 7.938 kB / 0.7296 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.1875, allocations: 0 / 0.7296 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1875, allocations: 4 kB / 0.7296 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.1883, allocations: 111.9 kB / 0.7297 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.1897, allocations: 0.6682 MB / 0.7303 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.1909, allocations: 174.4 kB / 0.7305 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000809/0.1917, allocations: 112.8 kB / 0.7306 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1918, allocations: 3.984 kB / 0.7306 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.1928, allocations: 229.1 kB / 0.7308 GB, free: 12.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.785e-06/0.1928, allocations: 8 kB / 0.7308 GB, free: 12.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002892/0.1957, allocations: 493 kB / 0.7313 GB, free: 11.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1958, allocations: 75.31 kB / 0.7314 GB, free: 11.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.1964, allocations: 449.8 kB / 0.7318 GB, free: 11.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/0.1965, allocations: 37.7 kB / 0.7319 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1966, allocations: 101.4 kB / 0.732 GB, free: 10.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.1966, allocations: 35.73 kB / 0.732 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.1969, allocations: 141.4 kB / 0.7321 GB, free: 10.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.197, allocations: 326.8 kB / 0.7324 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.1973, allocations: 135.9 kB / 0.7326 GB, free: 10.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.1977, allocations: 194.4 kB / 0.7327 GB, free: 10.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.1982, allocations: 299.1 kB / 0.733 GB, free: 9.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1982, allocations: 0 / 0.733 GB, free: 9.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009669/0.1991, allocations: 0.5223 MB / 0.7335 GB, free: 9.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.1992, allocations: 91.38 kB / 0.7336 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1992, allocations: 8 kB / 0.7336 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.1993, allocations: 12.12 kB / 0.7336 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1995, allocations: 23.92 kB / 0.7337 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1995, allocations: 4 kB / 0.7337 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.2, allocations: 55.84 kB / 0.7337 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/0.2001, allocations: 67.91 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.0003018/0.2004, allocations: 217.2 kB / 0.734 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.2004, allocations: 39.72 kB / 0.734 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.759e-05/0.2005, allocations: 43.78 kB / 0.7341 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2005, allocations: 4 kB / 0.7341 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2005, allocations: 0 / 0.7341 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2005, allocations: 0 / 0.7341 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.203, allocations: 0.7912 MB / 0.7349 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.203, allocations: 0 / 0.7349 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.203, allocations: 4 kB / 0.7349 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.203, allocations: 0 / 0.7349 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.2031, allocations: 23.91 kB / 0.7349 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2031, allocations: 0 / 0.7349 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2031, allocations: 4 kB / 0.7349 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.2051, allocations: 487.4 kB / 0.7354 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.2054, allocations: 244.6 kB / 0.7356 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.2055, allocations: 27.86 kB / 0.7356 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.206, allocations: 31.97 kB / 0.7356 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.2061, allocations: 7.984 kB / 0.7357 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.009e-05/0.2062, allocations: 59.98 kB / 0.7357 GB, free: 6.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000364/0.2065, allocations: 319.1 kB / 0.736 GB, free: 6.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2065, allocations: 0 / 0.736 GB, free: 6.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004169/0.207, allocations: 71.98 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.00236/0.2093, allocations: 1.034 MB / 0.7371 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.2108, allocations: 460.9 kB / 0.7375 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2108, allocations: 0 / 0.7375 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008398/0.2116, allocations: 108.3 kB / 0.7376 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.2121, allocations: 41.72 kB / 0.7377 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.217, allocations: 3.025 MB / 0.7406 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.2175, allocations: 0.7824 MB / 0.7414 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.2176, allocations: 17.42 kB / 0.7414 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.2177, allocations: 31.42 kB / 0.7414 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.2177, allocations: 0 / 0.7414 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.2514, allocations: 6.726 MB / 0.748 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.525, allocations: 14.73 kB / 0.748 GB, free: 10.13 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.518366063013673] Failed to read output from testmodel.py, exit status != 0: 8.598425918025896 8.621945821 8.433755513 Calling exit ...