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.001332/0.001332, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001478/0.001478, allocations: 207 kB / 23.74 MB, free: 4.543 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.9602/0.9602, allocations: 149.9 MB / 463.8 MB, free: 10.34 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [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.002208/0.002208, allocations: 74.69 kB / 0.6423 GB, free: 9.566 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2039, allocations: 89.17 MB / 0.7294 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00322/0.2071, allocations: 1.716 MB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2086, allocations: 0.6091 MB / 0.7317 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.2086, allocations: 0 / 0.7317 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2087, allocations: 11.86 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.2089, allocations: 35.78 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.2098, allocations: 378.3 kB / 0.7321 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006406/0.2104, allocations: 0.5892 MB / 0.7327 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2105, allocations: 21.3 kB / 0.7327 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.2109, allocations: 319.6 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.2112, allocations: 147.5 kB / 0.7331 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.2114, allocations: 40 kB / 0.7332 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2115, allocations: 40 kB / 0.7332 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.2116, allocations: 139.5 kB / 0.7334 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.2118, allocations: 175.2 kB / 0.7335 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.2125, allocations: 0.5995 MB / 0.7341 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2125, allocations: 0 / 0.7341 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2125, allocations: 0 / 0.7341 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2125, allocations: 0 / 0.7341 GB, free: 11.66 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.001364/0.2138, allocations: 0.8378 MB / 0.7349 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2139, allocations: 8.031 kB / 0.7349 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.214, allocations: 56.66 kB / 0.735 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.2145, allocations: 292.6 kB / 0.7353 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.2146, allocations: 20.36 kB / 0.7353 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.2146, allocations: 32.36 kB / 0.7353 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000965/0.2156, allocations: 229.9 kB / 0.7355 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2156, allocations: 192 / 0.7355 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.2156, allocations: 11.94 kB / 0.7355 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2156, allocations: 0 / 0.7355 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.2164, allocations: 119.9 kB / 0.7357 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.2182, allocations: 0.5313 MB / 0.7362 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.2197, allocations: 170.5 kB / 0.7363 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.2208, allocations: 104.8 kB / 0.7364 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.2209, allocations: 4 kB / 0.7364 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/0.2223, allocations: 231.1 kB / 0.7367 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.965e-06/0.2223, allocations: 3.938 kB / 0.7367 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.003787/0.2261, allocations: 0.4934 MB / 0.7372 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.2261, allocations: 63.34 kB / 0.7372 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/0.227, allocations: 441.9 kB / 0.7376 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.2271, allocations: 45.69 kB / 0.7377 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.2272, allocations: 101.4 kB / 0.7378 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.2273, allocations: 39.73 kB / 0.7378 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/0.2277, allocations: 141.4 kB / 0.7379 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.2279, allocations: 330.7 kB / 0.7383 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/0.2285, allocations: 219.3 kB / 0.7385 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.2291, allocations: 269.3 kB / 0.7387 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.2297, allocations: 287.2 kB / 0.739 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2297, allocations: 4 kB / 0.739 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001516/0.2313, allocations: 0.5917 MB / 0.7396 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.2314, allocations: 95.55 kB / 0.7397 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2314, allocations: 4 kB / 0.7397 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.2314, allocations: 7.938 kB / 0.7397 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2317, allocations: 19.92 kB / 0.7397 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2317, allocations: 4 kB / 0.7397 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.2324, allocations: 59.84 kB / 0.7398 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.2325, allocations: 59.97 kB / 0.7398 GB, free: 5.473 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.0004335/0.233, allocations: 224.3 kB / 0.74 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2331, allocations: 39.72 kB / 0.7401 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.2332, allocations: 47.72 kB / 0.7401 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2332, allocations: 0 / 0.7401 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.2332, allocations: 4 kB / 0.7401 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2332, allocations: 0 / 0.7401 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.2365, allocations: 0.7236 MB / 0.7408 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2365, allocations: 0 / 0.7408 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.2366, allocations: 4 kB / 0.7408 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.2366, allocations: 0 / 0.7408 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.2366, allocations: 19.97 kB / 0.7409 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2366, allocations: 0 / 0.7409 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2366, allocations: 0 / 0.7409 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.2392, allocations: 495.4 kB / 0.7413 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005908/0.2398, allocations: 177.5 kB / 0.7415 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.2399, allocations: 19.94 kB / 0.7415 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.2407, allocations: 31.97 kB / 0.7415 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2407, allocations: 11.86 kB / 0.7416 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.2408, allocations: 67.97 kB / 0.7416 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005799/0.2414, allocations: 315.1 kB / 0.7419 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2414, allocations: 0 / 0.7419 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006864/0.2421, allocations: 75.92 kB / 0.742 GB, free: 3.188 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.000254/0.2424, allocations: 119.2 kB / 0.7421 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.2444, allocations: 0.5018 MB / 0.7426 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2444, allocations: 0 / 0.7426 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.2456, allocations: 115.9 kB / 0.7427 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.2462, allocations: 49.17 kB / 0.7428 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.2485, allocations: 0.6467 MB / 0.7434 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2488, allocations: 182.9 kB / 0.7436 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.2489, allocations: 19.42 kB / 0.7436 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.2489, allocations: 0 / 0.7436 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of Templates: time 0.01002/0.2589, allocations: 4.107 MB / 0.7476 GB, free: 13.34 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.411008574068546] Failed to read output from testmodel.py, exit status != 0: 0.26941926404833794 0.595115514 0.07582006100000001 Calling exit ...