Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008928/0.0008928, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.0023, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008623/0.0008623, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002056, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9896/0.9896, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09213/1.082, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.941/1.941, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.56/2.501, allocations: 127.1 MB / 0.7432 GB, free: 4.598 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.331e-05, allocations: 3.875 kB / 0.7445 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002683/0.002707, allocations: 1.824 MB / 0.7463 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.003657, allocations: 0.6332 MB / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.003723, allocations: 4 kB / 0.7469 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.731e-05/0.00379, allocations: 11.86 kB / 0.7469 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.003903, allocations: 39.72 kB / 0.747 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.004483, allocations: 381.4 kB / 0.7473 GB, free: 424 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.004933, allocations: 0.617 MB / 0.7479 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.005012, allocations: 25.88 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.005378, allocations: 447.5 kB / 0.7484 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.005574, allocations: 139.8 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.005626, allocations: 40.97 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.78e-05/0.005674, allocations: 43.94 kB / 0.7486 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.959e-05/0.005764, allocations: 112.3 kB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.005866, allocations: 119.7 kB / 0.7488 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.00617, allocations: 391.5 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-05/0.006189, allocations: 0.5938 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.352e-06/0.006191, allocations: 0 / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.00621, allocations: 0.7812 kB / 0.7492 GB, free: 14.52 MB / 0.7292 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.0008827/0.007093, allocations: 0.8605 MB / 0.75 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.007124, allocations: 8.031 kB / 0.75 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.007201, allocations: 53.61 kB / 0.7501 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.007445, allocations: 251.9 kB / 0.7503 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.007477, allocations: 21.55 kB / 0.7503 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.00752, allocations: 28.38 kB / 0.7504 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.007824, allocations: 192.5 kB / 0.7506 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.007832, allocations: 192 / 0.7506 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.007848, allocations: 0.9062 kB / 0.7506 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.007854, allocations: 5.594 kB / 0.7506 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.007929, allocations: 50.45 kB / 0.7506 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.008432, allocations: 324 kB / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.008583, allocations: 89.06 kB / 0.751 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.008654, allocations: 46.78 kB / 0.751 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.008673, allocations: 4 kB / 0.7511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.008843, allocations: 161.5 kB / 0.7512 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.008844, allocations: 0 / 0.7512 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003/0.009144, allocations: 206.8 kB / 0.7514 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.009176, allocations: 55.41 kB / 0.7515 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.009376, allocations: 347.4 kB / 0.7518 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.009413, allocations: 48.94 kB / 0.7518 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.00946, allocations: 97.39 kB / 0.7519 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.00949, allocations: 43.67 kB / 0.752 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.009592, allocations: 121.4 kB / 0.7521 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.009662, allocations: 318.8 kB / 0.7524 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.009805, allocations: 163.3 kB / 0.7525 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.009953, allocations: 221.2 kB / 0.7528 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.01013, allocations: 253.7 kB / 0.753 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01013, allocations: 0 / 0.753 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00033/0.01046, allocations: 455.2 kB / 0.7534 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.01052, allocations: 88.16 kB / 0.7535 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01052, allocations: 5.406 kB / 0.7535 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.01053, allocations: 4 kB / 0.7535 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01064, allocations: 39.91 kB / 0.7536 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01065, allocations: 7.984 kB / 0.7536 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.01079, allocations: 45.14 kB / 0.7536 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.01084, allocations: 47.98 kB / 0.7537 GB, free: 9.695 MB / 0.7292 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.0001024/0.01094, allocations: 143.9 kB / 0.7538 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.01097, allocations: 36.53 kB / 0.7538 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.01101, allocations: 32.39 kB / 0.7539 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01101, allocations: 0 / 0.7539 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01101, allocations: 4.891 kB / 0.7539 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01102, allocations: 0 / 0.7539 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.0114, allocations: 400.2 kB / 0.7542 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0114, allocations: 0 / 0.7542 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.01142, allocations: 13.53 kB / 0.7543 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.01156, allocations: 127.5 kB / 0.7544 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01156, allocations: 0 / 0.7544 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.01158, allocations: 11.97 kB / 0.7544 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01158, allocations: 0.7188 kB / 0.7544 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01158, allocations: 0 / 0.7544 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.01178, allocations: 252.9 kB / 0.7546 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.01182, allocations: 17 kB / 0.7547 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.01198, allocations: 28.88 kB / 0.7547 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.012, allocations: 12.98 kB / 0.7547 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.01203, allocations: 47.97 kB / 0.7547 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.728e-05/0.01213, allocations: 146.2 kB / 0.7549 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01213, allocations: 0 / 0.7549 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001795/0.01231, allocations: 67.95 kB / 0.7549 GB, free: 8.359 MB / 0.7292 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.0001123/0.01242, allocations: 105 kB / 0.755 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.0128, allocations: 416.5 kB / 0.7554 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.0128, allocations: 4 kB / 0.7554 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.01289, allocations: 65.86 kB / 0.7555 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.0131, allocations: 79.12 kB / 0.7556 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.01371, allocations: 483.7 kB / 0.756 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01375, allocations: 87.8 kB / 0.7561 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.01379, allocations: 16.48 kB / 0.7561 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.01395, allocations: 118.7 kB / 0.7563 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.01395, allocations: 0 / 0.7563 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of Templates: time 0.0063/0.02025, allocations: 5.946 MB / 0.7621 GB, free: 1.023 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.042986252345145]