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.001466/0.001466, allocations: 119 kB / 19.69 MB, free: 2.199 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.00168/0.00168, allocations: 224.5 kB / 23.01 MB, free: 5.047 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.13/1.13, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [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.002136/0.002136, allocations: 68.84 kB / 0.6418 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2355, allocations: 89.17 MB / 0.7288 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003302/0.2388, allocations: 1.746 MB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2403, allocations: 0.6324 MB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.2403, allocations: 0 / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.2404, allocations: 11.86 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2406, allocations: 47.72 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.2414, allocations: 355.4 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.2421, allocations: 0.6048 MB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2422, allocations: 21.3 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.2427, allocations: 315.6 kB / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.243, allocations: 168.3 kB / 0.7326 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.771e-05/0.2431, allocations: 40 kB / 0.7327 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.2432, allocations: 44 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.2433, allocations: 127.6 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.2436, allocations: 215 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.2442, allocations: 0.5995 MB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2442, allocations: 0 / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2442, allocations: 0 / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.2443, allocations: 0 / 0.7336 GB, free: 11.85 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.001415/0.2457, allocations: 0.8455 MB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2457, allocations: 12.03 kB / 0.7345 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2458, allocations: 56.66 kB / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.2463, allocations: 272.7 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.2464, allocations: 28.36 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.2464, allocations: 32.36 kB / 0.7348 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/0.2474, allocations: 240.5 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2474, allocations: 192 / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.2474, allocations: 7.938 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.2475, allocations: 4 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.2482, allocations: 115.9 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2496, allocations: 0.6283 MB / 0.7358 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.2506, allocations: 182.4 kB / 0.736 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/0.2512, allocations: 104.8 kB / 0.7361 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.2513, allocations: 0 / 0.7361 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009362/0.2522, allocations: 234 kB / 0.7363 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.2522, allocations: 0 / 0.7363 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002414/0.2546, allocations: 0.4972 MB / 0.7368 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.2547, allocations: 63.38 kB / 0.7368 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.2552, allocations: 441.9 kB / 0.7373 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.2553, allocations: 45.69 kB / 0.7373 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2554, allocations: 113.3 kB / 0.7374 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.2554, allocations: 31.75 kB / 0.7374 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.2556, allocations: 145.3 kB / 0.7376 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2558, allocations: 326.8 kB / 0.7379 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.2561, allocations: 135.9 kB / 0.738 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.2564, allocations: 187.9 kB / 0.7382 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.2568, allocations: 301.2 kB / 0.7385 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2568, allocations: 0 / 0.7385 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008939/0.2577, allocations: 0.5183 MB / 0.739 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.2578, allocations: 95.38 kB / 0.7391 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2578, allocations: 4 kB / 0.7391 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2578, allocations: 0 / 0.7391 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.258, allocations: 23.92 kB / 0.7391 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.258, allocations: 7.984 kB / 0.7391 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.2585, allocations: 63.97 kB / 0.7392 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.2586, allocations: 59.98 kB / 0.7392 GB, free: 5.789 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.0002744/0.2589, allocations: 224.3 kB / 0.7395 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.2589, allocations: 39.72 kB / 0.7395 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.259, allocations: 39.72 kB / 0.7395 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.259, allocations: 8 kB / 0.7395 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.259, allocations: 4 kB / 0.7395 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.259, allocations: 0 / 0.7395 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.2612, allocations: 0.759 MB / 0.7403 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.2612, allocations: 0 / 0.7403 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.2612, allocations: 8 kB / 0.7403 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.2612, allocations: 0 / 0.7403 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.2613, allocations: 23.97 kB / 0.7403 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.2613, allocations: 7.922 kB / 0.7403 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2613, allocations: 0 / 0.7403 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.263, allocations: 490.5 kB / 0.7408 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.2633, allocations: 181.5 kB / 0.741 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.2634, allocations: 12 kB / 0.741 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.2639, allocations: 35.89 kB / 0.741 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.2639, allocations: 11.98 kB / 0.741 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/0.264, allocations: 55.98 kB / 0.7411 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003479/0.2643, allocations: 323.1 kB / 0.7414 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2643, allocations: 0 / 0.7414 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003836/0.2647, allocations: 67.94 kB / 0.7415 GB, free: 3.457 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.0001883/0.2649, allocations: 131.1 kB / 0.7416 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.2662, allocations: 442.5 kB / 0.742 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2662, allocations: 0 / 0.742 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.2669, allocations: 111.9 kB / 0.7421 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.2673, allocations: 40.3 kB / 0.7421 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2689, allocations: 0.6115 MB / 0.7427 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.2693, allocations: 0.7786 MB / 0.7435 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.975e-05/0.2694, allocations: 17.42 kB / 0.7435 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.2694, allocations: 19.42 kB / 0.7435 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.2694, allocations: 0 / 0.7435 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of Templates: time 0.01041/0.2799, allocations: 5.499 MB / 0.7489 GB, free: 11.68 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.727444652002305] Failed to read output from testmodel.py, exit status != 0: 0.2887597493827343 0.656567456 0.40897768599999995 Calling exit ...